So go ahead and use the form. Enter your name and comment and hit submit. If all goes well you should get the "Thanks for submitting" message. Go ahead and go to SQL Server Management Studio Express. Log into the server if you're not currently logged in. Open up the Databases dropdown (if it's not already open) and highlight our Guestbook database. Next, click the "New Query" button in the toolbar on the top left. Alternately, you can go to File | New | Query With Current Connection. A white page will open on the right. Type in "select * from comments", then hit Excecute in the toolbar or hit F5.
Rows In Your Database
The results of the query display below. You should see a row for every time you filled out that form and hit submit. This is our persistent data. Congratulations! If for some reason you're having problems getting this to work, I'm providing a link to my source code.
Codefile [Default.aspx.zip]
So, are we done? Absolutely not. The next page will cover an extremely important aspect of web development: security.