Summary
In this chapter, you learned how to connect to the SQL Server and then display the records from a database table in a web page. You made a connection string, connected to SQL Server, wrote the code to catch exceptions and display errors, opened the connection, and worked with the SQL Server DataReader
.
In the next chapter, you will make a table, write a procedure, and use the procedure to insert records into the table.