s_bist
June 18th, 2002, 05:12 AM
How do u add a new record using the dataset in vb.net?
Not thro the insert command but using dataset.
Thnx
Not thro the insert command but using dataset.
Thnx
|
Click to See Complete Forum and Search --> : Add Data in Database s_bist June 18th, 2002, 05:12 AM How do u add a new record using the dataset in vb.net? Not thro the insert command but using dataset. Thnx franc2 July 17th, 2002, 04:21 AM DataRow NewRow; NewRow = dataset.Tables["MyTable"].NewRow(); NewRow["MyColumn1"] = "blabla"; dataset.Tables["MyTable"].Rows.Add ( NewRow ); (through dataset... ofcourse you have to call also sqlDataAdapter.Update(dataset.Tables["MyTable"]) to actually write the difference to a database table... (this goes through INSERT, UPDATE, DELETE statements in sqlDataAdapter... ) regars codeguru.com
Copyright Internet.com Inc., All Rights Reserved. |