In this article I have described how to build your own Ajax
Enabled Grid using JavaScript. The concept is that using simple HTML table
designs a Grid like control with Ajax Paging and Sorting functionality without
using any ASP.NET Controls.
Getting Started
We will start our Website by creating a New Website in
Visual Studio 2005 and Name it as AJAXGrid.
Then in the App_Data Folder keep the NorthWind.MDF which
will act as a Database for the project.
Now in the Web.Config add the following key.
Listing 1
<connectionStrings>
<add name ="conString"
connectionString ="Data Source=.\SQLEXPRESS;database=Northwind;
AttachDbFileName=|DataDirectory|\NORTHWND.MDF;
Integrated Security=true"/>
</connectionStrings>