Create Your Own Guestbook In ASP.NET (Page 1 of 3 )
Recently I was working on my website in which I wanted to implement a guestbook. So I searched the web to get the best guestbook for my Website. But then I thought: Hey I am a developer, why not create my own one. It was very easy to create a guestbook and you can do it too. In this article I will show you how you can easily create a guestbook. To understand the article, I assume that you have already knowledge about the basics of ASP.NET programming and XML/XSL skills.
So what do we need to create a guestbook. We need two webforms, one to enter the name, email, comment etc. and the other is used to display the comments signed in the guestbook. Of course we can make this in one webform, but to have a clean code, I will use two webforms with several codebehind files, which I discuss later.
Then we need a database, which holds the information for us. I have used a simple XML file ( database ) to store the information entered by the user. For the visualisation of the XML we use also the XSL technique. In summary we need the following: