Click here to Skip to main content
15,902,189 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello,
I have created Asp.NET application which has AddToCart.aspx and ProductForCategoris.aspx.
AddToCart.aspx page contains following controls:
1.Product Name :(Label)
2.Product Price :(Label)
3.Product Description :(Label)
4.Product Quantity:(TextBox)
5.Product Name :(Label)
6.Add to cart :(Button)
When after clicking the Button ,the page must be redirected to ProductForCategoris.aspx which has DataGrid Control.DataGrid control contains the selected product from AddToCart.aspx
When user wants more items from AddToCart.aspx page it must be added as on clicking.

Please help me ...Thnks.
Posted

1 solution

Hi

Create a temporary table in your code behind and place it on either viewstate or cache and access the same to bind your datagrid.

Hope this helps.
 
Share this answer
 
Comments
Yashodip Jagdale 3-Nov-11 8:30am    
But can we work with Hash table?
If we can work then please tell me how?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900