使用C#在ASP.NET中添加到CART按钮 [英] ADD TO CART BUTTON IN ASP.NET USING C#

查看:66
本文介绍了使用C#在ASP.NET中添加到CART按钮的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何编写使用C#添加到ASP.NET中的CART按钮使用c#添加到asp.net中的购物车按钮?

解决方案

< blockquote>请访问此链接



http://stackoverflow.com/questions/13618562/how-to-code-on-add-to-cart-button [ ^ ]


如何将两个值添加到一个值中 [ ^ ]


您创建了一个按钮,并在其上添加了添加到购物车字样。你如何使这个按钮工作,取决于你如何编写你的购物车,虽然我认为你总是将你的购物车存放在一个cookie(如果你希望它持续跨会话)或在会话中(如果你如果用户关闭浏览器,你不介意丢失它)。如果您要求用户登录,您还可以将其存储在数据库中。


How to code the ADD TO CART BUTTON IN ASP.NET USING C# add to cart button in asp.net using c#?

解决方案

please visit this link

http://stackoverflow.com/questions/13618562/how-to-code-on-add-to-cart-button[^]


How to add two values into one value[^]


you create a button, and you put the words 'add to cart' on it. How you make that button work, depends on how you write your shopping cart, although I think it's fair to say that you'd always store your cart in a cookie ( if you want it to persist across sessions ) or in the session ( if you don't mind losing it if the user turns off their browser ). If you require users to log in, you could also store it in the database.


这篇关于使用C#在ASP.NET中添加到CART按钮的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆