Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
All-Star
118619 Points
18779 Posts
Aug 09, 2011 02:06 AM|LINK
Hello tarun n juneja:)
You can offer an English version if the OP is from English-speaking country:http://support.microsoft.com/kb/308507/en-us
Hello Op:)
You can use "tarun n juneja"'s SqlCommandBuilder and then create new DataRow, and in the end, just call adapter.Update("dt") to finish inserting rows.
However to be simple, I'd like to recommand you using SqlCommandBuilder for a single table with primary key assigned.
Thx again.
Decker Dong ...
All-Star
118619 Points
18779 Posts
Re: Datatable to sqldatabase table
Aug 09, 2011 02:06 AM|LINK
Hello tarun n juneja:)
You can offer an English version if the OP is from English-speaking country:http://support.microsoft.com/kb/308507/en-us
Hello Op:)
You can use "tarun n juneja"'s SqlCommandBuilder and then create new DataRow, and in the end, just call adapter.Update("dt") to finish inserting rows.
However to be simple, I'd like to recommand you using SqlCommandBuilder for a single table with primary key assigned.
Thx again.