HI
I have an asp.net page that has some checkboxes and some text boxes and a submit button. The users simply fill out the boxes and hit the submit button, then a single sql table is filled where the text/check boxes have corresponding columns in the table.
I am a beginner so my coding knowledge is not so good. Under the submit button I have the following:
Dim sqlconn As SqlClient.SqlConnection
sqlconn = New SqlClient.SqlConnection
sqlconn.ConnectionString = "Integrated Security=True;Data Source = GTSQL;Initial Catalog=TestDbase;"
Dim Ad As SqlDataAdapter = New SqlDataAdapter
- what do I do next to actually take the the contents of the text boxes and stick it into the table ?
thanks,
Paul
I have an asp.net page that has some checkboxes and some text boxes and a submit button. The users simply fill out the boxes and hit the submit button, then a single sql table is filled where the text/check boxes have corresponding columns in the table.
I am a beginner so my coding knowledge is not so good. Under the submit button I have the following:
Dim sqlconn As SqlClient.SqlConnection
sqlconn = New SqlClient.SqlConnection
sqlconn.ConnectionString = "Integrated Security=True;Data Source = GTSQL;Initial Catalog=TestDbase;"
Dim Ad As SqlDataAdapter = New SqlDataAdapter
- what do I do next to actually take the the contents of the text boxes and stick it into the table ?
thanks,
Paul