Hi Mike,Cor
Thanks for spending your time on me.. I had found where i was wrong &
your suggestions were useful, also got idea from another forum ,
Cor , I was using Insert method generated from table adapter
directly(& i set Generate DBDirect Property to true) so no need of
using update command while Inserting
Actual problem was ------I was inserting data to local file & not to
the original database file
Normally when we add a table adapter through DataSet designer in VS
2005 it prompts "Local database file dialog box" at the end ..
Following link helped me
http://msdn2.microsoft.com/en-us/library/ms246989.aspx
Excerpts from the link :
To respond to the Local database file dialog box
Click Yes if you want Visual Studio to copy the database file into
your project and modify the connection to point to the copy in your
project. For more information on working with database files in your
project, see Local Data Overview.
Click No if you do not want Visual Studio to copy the database file
into your project. Instead, the connection points to the file in the
original location.
Thank you,
Surya