sanoob.tv
Dr.gB
i hav been working on asp.net(c#) for past few days.
i created a table named "sum" having coloumns(registerno,name)under database "trial".
in my aspx web page,i have provided 2 text boxes(Textbox1 for registerno & textbox2 for name)and a button.
what im looking for is a way to insert the contents of the textboxes to the table"sum";i have the button click event,the contents of the text box,and the sql command to insert;
can any one tell me the code for the same,
thnx in advance
i created a table named "sum" having coloumns(registerno,name)under database "trial".
in my aspx web page,i have provided 2 text boxes(Textbox1 for registerno & textbox2 for name)and a button.
what im looking for is a way to insert the contents of the textboxes to the table"sum";i have the button click event,the contents of the text box,and the sql command to insert;
can any one tell me the code for the same,
thnx in advance