Pre-Request:
To have AJAX Extensions 1.0 form http://ajax.asp.net.
Go To http://ajax.asp.net/downloads/default.aspx?tabid=47.
You can download "ASPAJAXExtSetup.exe" which is of 1.36 MB in size.
Go to Visual studio 2005 >> New Web site
You will notice in the Templates list new template added by the name "ASP.NET AJAX-Enabled Web Site" & select location where you want to create this web site.
We need to have database and table in the database. To have this in my project follow the steps as shown below:
App_Data >> Right Click >> Add New Item
Enter Database name as "Products.mdf".
Right Click >> Tables >> Add New Tables
Create table with the following fields:
ProductIdintUnchecked
ProductTitlevarchar(50)Unchecked
ProductDescriptionvarchar(1000)Unchecked
ProductPriceintUnchecked
AvailQuantityintUnchecked
IsActivechar(10)Unchecked
Add few products in the table.
Rigth click _disibledevent=#000000>You can download the code, it is tested on two seperate machines.
最新评论