I m beginner for ASP.Net 2005 with C# and SQL Server 2005.
I have created the form which contains many asp standard controls on it like label,textbox,c heckbox,dropdow nlist,command button.
The command button used are only to execute the different queries on click event.
I have put the GridView control which is used to show the database stored related to that form.
I m using SQL DataSource control for the connection.
Now,my problem is i m not able to write the proper SQL queries which insert,delete,u pdate or select from the GridView and Standard Controls.
In short,I have a command button set up on a form to run a SQL pass-through insert query after several field are filled in standard controls but I can't get .Please anyone could help me to provide the sample source code related to above controls used in the same form.
Thanxs
I have created the form which contains many asp standard controls on it like label,textbox,c heckbox,dropdow nlist,command button.
The command button used are only to execute the different queries on click event.
I have put the GridView control which is used to show the database stored related to that form.
I m using SQL DataSource control for the connection.
Now,my problem is i m not able to write the proper SQL queries which insert,delete,u pdate or select from the GridView and Standard Controls.
In short,I have a command button set up on a form to run a SQL pass-through insert query after several field are filled in standard controls but I can't get .Please anyone could help me to provide the sample source code related to above controls used in the same form.
Thanxs
Comment