Free guestbook HTML by visual basic source code(vbknowledgebase.com)

submitted by pons_saravananpons_saravanan(219) 2 years, 7 months ago

If the website is designed and developed only in plain HTML, it is nearly impossible to create a Guest Book with just plain HTML in server to track the guests. But now a days it is easier to find an Asp.Net enabled host for cheaper prices. It should be noted that, the server side execution is required for saving a GuestBook. Though the databases are the way to go. To make the article simpler I have used a flat file for GuestBook. As the target of this article is not providing a full working application for GuestBook, I am just writing some code for beginners to learn how to start with. Partial Class _Default Inherits System.Web.UI.Page Protected Sub btnSubmit_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnSubmit.Click Dim GuestBookContent = txtName.Text & " | " & _ txtEmail.Text & " | " & _ txtComments.Text & " ~ " My.Computer.FileSystem.WriteAllText(Server.MapPath("~/GuestBook.txt"), GuestBookContent, True) End Sub Protected Sub form1_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles form1.Load End Sub End Class

add a comment |category: |Views: 11

tags: another

new Add a live kick counter to your blog >> liveImage

You can even customize the image by choosing your own colors, and then clicking the button below to update the preview and the html code:

  • "Kick It" text
  • "Kick It" background
  • kick count text
  • kick count background
  • border

Simply copy and paste this HTML into your blog post.


Users who kicked this story:
Comments:

No comments so far

information Login or create an account to comment on this story