CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Dec 2009
    Posts
    90

    Adding records into a SQL Server database

    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

  2. #2
    Join Date
    Dec 2009
    Posts
    2

    Re: Adding records into a SQL Server database

    Why don't you use LINQ to SQL?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured