Hi,
First you have to create sql tables and needful sps.
here iam attaching a simple example.
Create procedure insert
(@ColumnValue1,@ColumnValue2,@ColumnValue3)
{
insert into tablename (Column1,Column2,Column3)
values(@ColumnValue1,@ColumnValue2,@ColumnValue3)
}
.net part-- create a method for inserting values to db and call this method from the submit button click or you cam writethe full code inside the button click.
SqlConnection con=new sqlconnection("give ur connection string here");
sqlcommand cmd=new sqlcommand();
con.open();
cmd=new sqlcommand("insert",con);
cmd.commandtype=commandtype.storedprocedure;
cmd.parameters.addwithvalue("@ColumnValue1",txtbox1.text);
cmd.parameters.addwithvalue("@ColumnValue2",txtbox2.text);
cmd.parameters.addwithvalue("@ColumnValue3",txtbox3.text);
cmd.ExecuteNonQuery();
con.close();
Hope this will help you to get a basic idea.