I want to manually create a table in asp.net to display data from a mssql database. I have set up a connection like this:
SqlConnection connection = new SqlConnection("server = servername; uid = username; pwd = password; database = database;");
connection.Open();
So I need to know a simple way to use this connection to display data in a table. I then want to be able to edit the data in this database, as well as add new data.
Here is a place you can start. If you need specific help update the question with more details about what’s going on.
http://msdn.microsoft.com/en-us/library/aa719634(v=vs.71).aspx