Question Help with data manipulation in ado.net

ggr_fi

New member
Joined
Dec 16, 2007
Messages
2
Programming Experience
Beginner
Hello ,
I newbie to ado.net , i need to make admin form that insert dataand manipulate it in windows form vb.net , I have Customers table Customers(id , name , adress,phone)
what is fast and realeable method to insert , update , delete data in Cutomers
with one is best to use
sqldataadapter or myDataTable.NewRow() or command and sql query ...or
or any ...
Thank you in Advance
 
Please post in the most appropriate forum for the topic of your thread, not just the first one you come to. Moved.

None of the things you mentioned:
sqldataadapter or myDataTable.NewRow() or command and sql query
are mutually exclusive. The fact is that you will most likely use all of them. A SqlDataAdapter uses a SqlCommand to execute a SQL statement to populate a DataTable, which you may call NewRow on to add new data, which you'll then save using the same data adapter.

If you have a specific question or two then you should ask them but if you just want to learn how to use ADO.NET then you should work your way through one of the many tutorials available on the web. Once you've learned the basic principles you can attempt to apply them to your project and then ask us to help you with any specific issues you encounter along the way.

[ame=http://www.google.com.au/search?q=ado.net+tuttorial++vb&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-GB:eek:fficial&client=firefox-a]ado.net tuttorial vb - Google Search[/ame]
 

Latest posts

Back
Top