Results 1 to 16 of 16

Thread: Insert to SQL(resolved Mend rawks)

Threaded View

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Nov 2003
    Posts
    683

    Resolved Insert to SQL(resolved Mend rawks)

    Okay finally got my first webapp up and its static, has no sql connections. I have been reading and looking at the forum for how to connect to a database. What I want to do is create a webform, fill in a textbox, click the button to save and have it write to the table on the SQL server. My server is called webserver, my database is webtest and my table is answer and the field is answer1. From what I have read it seems you need to put postback code in the form load event, create a datatable from all the data on the sql server, add a datarow and then do an update from the sqladapter. This seems like alot of bandwith usage for a simple update or am I barking up the wrong tree. I don't care what the data is thats there already, I just want to add a new row.
    Last edited by Beast777; Mar 2nd, 2006 at 11:02 AM. Reason: Resolved

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