ASP.NET Guestbook - Viewing the Results (Page 2 of 8 )
Make sure you have included ASPNET user in this database and enabled the necessary permissions. Run the above script and you might be seeing the result set in the result pane of the query analyzer, like the one given below.

That’s all with the database. If you need any help, please refer to online help or the software documentation.
The front end consists of two pages:
- postcomments.aspx, for posting feedbacks
- viewcomments.aspx, for viewing all the feedbacks
Guestbook:
1) Open the Visual Studio.Net
2) Start a new ASP.NET web application
3) Name the web application as guestbook
4) You will be presented with the default web form as Webform1.aspx in the solution explorer
5) Rename it as postcomments.aspx
Posting Feedback: (postcomments.aspx)
The postcomments.aspx page contains visual controls to let the viewers post their opinions. Given below are the controls involved in this page, their names and their values. Before that, have a peek at the simple front end page - postcomments.aspx.

CONTROL | NAME OF THE CONTROL | REMARKS |
| Asp:Textbox | txtName | To get the name of the visitor |
| Asp:Textbox | txtEmail | To get the Email Id |
| Asp:Textbox | txtComments | To get the comments |
| Asp:DropDrownList | ddnRating | To rate the site |
| Asp:LinkButton | llPost | To post the comments |
Next: Setting Up the Drop Down Box >>
More ASP.NET Code Articles
More By R. Abhiram Vikrant