I would like to have tutorials to build a shopping cart or betting slip, using query string, or any other solutions in aspx c#.
If you want to do a shopping Cart,I suggest you can create a DataTable for each user,and then add, delete or update amounts or something else through the DataTable(don't forget to save changes into DataTable and save the DataTable into memory of ViewState)……And
then in the end,you can use DataTable.ReadXml/WriteXml to create or read all the contents into the DataTable again for your futher usages……
Thank you for Help. actually i dont need shopping cart, i need bet Slip, what i am thinking is to pass string to shopping cart from page, and when customer click on bet button after choosing many bets, will add new XML data in his XML file and in Admin Panel.
But i need to set steps for this and have some tutorials samples to accoplish this idea.
actually i dont need shopping cart, i need bet Slip, what i am thinking is to pass string to shopping cart from page
Hello again:)
In my mind,I think you need a page for shopping cart,while the other page is for Goods to choose。When you click a goods from the page,the id will be added as a request parameter after the url to the shopping cart's page and you can directly add the good
into your shopping cart。So you still need the shopping cart。And the shopping cart can be done using my sample snippet of codes by referring a DataTable and then use WriteToXml to export the whole data contents。
khayalian
Member
127 Points
143 Posts
Xml shopping cart
Apr 12, 2012 05:36 PM|LINK
Hello
I would like to have tutorials to build a shopping cart or betting slip, using query string, or any other solutions in aspx c#.
Thank you
krishdsouza
Member
250 Points
50 Posts
Re: Xml shopping cart
Apr 12, 2012 05:52 PM|LINK
Refer:
http://www.codeproject.com/Articles/93639/Simple-Shopping-Cart-Basket-User-Control-using-ASP
http://www.techrepublic.com/article/implement-a-flexible-shopping-cart-with-xml-and-asp/5035160
Decker Dong ...
All-Star
118619 Points
18779 Posts
Re: Xml shopping cart
Apr 14, 2012 01:42 AM|LINK
If you want to do a shopping Cart,I suggest you can create a DataTable for each user,and then add, delete or update amounts or something else through the DataTable(don't forget to save changes into DataTable and save the DataTable into memory of ViewState)……And then in the end,you can use DataTable.ReadXml/WriteXml to create or read all the contents into the DataTable again for your futher usages……
Reguards!
khayalian
Member
127 Points
143 Posts
Re: Xml shopping cart
Apr 14, 2012 09:04 AM|LINK
Hello
Thank you for Help. actually i dont need shopping cart, i need bet Slip, what i am thinking is to pass string to shopping cart from page, and when customer click on bet button after choosing many bets, will add new XML data in his XML file and in Admin Panel.
But i need to set steps for this and have some tutorials samples to accoplish this idea.
Thank you
Decker Dong ...
All-Star
118619 Points
18779 Posts
Re: Xml shopping cart
Apr 15, 2012 01:29 AM|LINK
Hello again:)
In my mind,I think you need a page for shopping cart,while the other page is for Goods to choose。When you click a goods from the page,the id will be added as a request parameter after the url to the shopping cart's page and you can directly add the good into your shopping cart。So you still need the shopping cart。And the shopping cart can be done using my sample snippet of codes by referring a DataTable and then use WriteToXml to export the whole data contents。
Reguards!