cshacon

cshacon

  • NA
  • 5
  • 0

How do I insert data to a DB?

Jun 9 2004 3:18 PM
Hello I'm working with an Access DB, and I'd like to insert new rows to it. How do I do that? I've searched the MSDN library, and it goes on and on about DataAdapter and DataSet, but I didn't understand how to use it.. :\ Am I supposed to copy the entire DB to the DataSet, make changes in it, set an InsertCommand to the DataAdapter and then do dataadapter.update? I didn't understand what the DataSet is used for, or how to do it.. Can you please help me?

Answers (3)