Ajax introduces a new approach to WebPages that update the portion of a page by a technique called Partial-page rendering. Partial-page rendering eliminate the traditional way of loading a full postback (full page refresh) to the web server and updates only the necessary portion of a web page.
The following asp.net program shows how to connect a database from an Asp.net Ajax application. In this program we placed a DropDownList and GridView inside the UpdatePanel control area and while selecting different items from DropDownList you can see the GridView is updating without full postback to the server. Also you can notice that the page load time and data updated time with the help of Label controls
Default.aspx
Untitled Page
Click the following links to see full source code
C# Source Code
VB.NET Source Code
ASP.NET Ajax - Related Contents
Advertisement
ASP.NET Related Topics