Hello
I am Using Vb.Net 2005 And Sql2005
See This
This Just eg for saving to databse using Adodb connection And Recordset
My Question is Hw to Save like this using Oledb Connection And Dataset
I will Try for that but not getting
Faisal
I am Using Vb.Net 2005 And Sql2005
See This
Code:
Dim RsSave as new adodb.recordset RsSave.open "Select * From Table Where 1=2 ",Con,CursorTypeEnum.adOpenDynamic, LockTypeEnum.adLockOptimistic con.Begintrans RsSave.AddNew RsSave.Fields(0).Value = textbox1.text RsSave.Fields(1).Value = textbox2.text RsSave.Fields(2).Value = textbox3.text RsSave.Update Con.Commitrans
My Question is Hw to Save like this using Oledb Connection And Dataset
I will Try for that but not getting
Faisal
Comment