NetPochi

Hello. Did anyone add a new row on a Bindingsource.currencymanager I'd want to see an example of how I can do that.

Thanks...



Re: Visual Basic Express Edition Please an example.

Bruno Yu - MSFT

NetPochi,

Please take a look at the following link that shows an example on your demand:

Bind a CurrencyManager to objects in a collection and use it for navigation in VB .NET:

http://vb-helper.com/howto_net_bind_collection.html

This example shows how to bind a CurrencyManager to objects in a collection and use it for navigation in VB .NET. I hope that can help you.






Re: Visual Basic Express Edition Please an example.

NetPochi

Thanks you. The example is good, but I'd want to know another one that has the information of more of 2 related tables. Example:

customer - relation with orders
orders - relation with details

I have problems inserting a row on the first table.

Thanks...





Re: Visual Basic Express Edition Please an example.

Bruno Yu - MSFT

NetPochi,

According to your question, there are two related tables in your database, customer and orders. When you try to insert a row in the customer table, what is the method you use for this inserting operation

Do you need the insert SQL statement or some other code sample on this issue I would like to ask you two things:

1. The SQL statement you use insert into values(customer fields) with related to the order fields.

2. The error message when you compile the project.

Waiting for you reply.