This may seem like a schoolboy question about ASP.net 2.0 but anyway!
I have been using visual studio 2005 for a few years now creating reports and applications that just send variables to the SQL server and return data which I display, this is great, works a treat.
Now I want to enter data into SQL tables, and I am stuck as to how to do it. In classic asp you created variables which I passed to a stored procedure which inserted them into the tables.
In VS so far I have created a SQL data source linked to the table I want to populate, but I don't want to display anything from it, just have text boxes/drop downs etc and something like a submit button...
So, how is it done in VS2005?
I have been using visual studio 2005 for a few years now creating reports and applications that just send variables to the SQL server and return data which I display, this is great, works a treat.
Now I want to enter data into SQL tables, and I am stuck as to how to do it. In classic asp you created variables which I passed to a stored procedure which inserted them into the tables.
In VS so far I have created a SQL data source linked to the table I want to populate, but I don't want to display anything from it, just have text boxes/drop downs etc and something like a submit button...
So, how is it done in VS2005?