अजपा जप आणि शांभवी मुद्रा ऑनलाईन कोर्स : श्वास, मंत्र, मुद्रा आणि ध्यान यांच्या सहाय्याने मनःशांती, एकाग्रता, चक्र संतुलन आणि कुंडलिनी जागृती. अधिक माहिती आणि आगामी तारखांसाठी येथे जा.


<%@ Page %>

Guest Book Developed in ASP.NET

Introduction

This application is simple Guest Book developed using ASP.NET and VB.NET. Even though the application is simple it illustrates many .NET concepts. Following are some important concepts you will learn :
  • Creating ASP.NET web forms
  • Using DataGrid
  • Data binding
  • Basic ADO.NET operations like insert and read
  • Sending e-mails using .NET libraries
  • Using web.config to store application specific settings

Application Files

The application contains 4 files :
  • viewguestbook.aspx : This page displays the entire guest book in a DataGrid. It displays 5 rows at a time. It also allows user to sort the grid on the basis of name,e mail,country etc.
  • addguest.aspx : This page displays a blank screen for the user to add himself/herself to the guest book
  • sendmail.aspx : This page displays a 'new mail' form and sends message to the selected user
  • guestbook.vb : This is source code file which contains data access functions used in the application

Application Database

All data is stored in guestbook.mdb. You need to create a DSN for this database. Instead of hard coding DSN name in the application, I have put it in web.config file.

Data Access Component

I have created a simple data access component in VB.NET which fetches the data and performs data base tasks like adding user, retrieving a field etc. This component uses the DSN setting entered in web.config to connect with the database. The code also contains some other methods which are currently not implemented

Bipin Joshi is an independent software consultant and trainer by profession specializing in Microsoft web development technologies. Having embraced the Yoga way of life he is also a meditation teacher and spiritual guide to his students. He is a prolific author and writes regularly about software development and yoga on his websites. He is programming, meditating, writing, and teaching for over 27 years. To know more about his ASP.NET online courses go here. More details about his Ajapa Japa and Shambhavi Mudra online course are available here.

Posted On : 22 April 2001