Click to See Complete Forum and Search --> : Adding records into a SQL Server database


dovobet
December 6th, 2009, 12:02 PM
I have a SQL Server Database in which there is a table. I need to be able to add records to this database by taking the strings from Textboxes and creating a record with them.

I am able to read frm the database using the SQLDataReader.

I beleive SQLDataAdapter is what is required but what SQL command is needed to insert it correctly to the database? Many thanks for any help guys:)

Diana_
December 7th, 2009, 03:17 AM
Why don't you use LINQ to SQL?