If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register or Login
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Updating DataBase with DataTable & TableAdapte problem in C#?

Hi all.
I've had a DataBase that named Database1.mdf
After that VS2008 SP1 creates a DataSet in my Project, named Database1DataSet
Then I've created a TableAdapter.
Now I wanna update the DataBase with them ( DataSet & DataTable & TableAdapter ).
I used this code :

Re: Updating DataBase with DataTable & TableAdapte problem in C#?

And is there an exception? Also, you are not creating and setting the connection, so some connection based on connection string used in design time is used. Are you sure it is right? Maybe other database is updated than the one you would expect to be.