从数据列表控件发送事件 [英] event send from datalist control

查看:58
本文介绍了从数据列表控件发送事件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述




如何在数据列表中使用该按钮的按钮单击事件中将产品ID和产品价格发送到其他页面..

hi ,


How to send product id and product price to other page on button click event that button is use in the datalist..

推荐答案

如果是产品ID和价格,则通常很短,您可以使用查询字符串将该数据传递到另一个页面.
If its a product ID and price, which is typically short, you can use query strings to pass that data to another page.


有很多方法可以将信息发送到另一个页面.请检查以下链接.

http://msdn.microsoft.com/en-us/library/6c3yckfw.aspx [ ^ ]

将页面值传输到另一个页面 [ http://ramanisandeep.wordpress.com /2008/11/21/passing-values-from-one-page-to-another-page-aspnet/ [查询字符串 [
There are so many ways to send information to another page. Please check the following links.

http://msdn.microsoft.com/en-us/library/6c3yckfw.aspx[^]

Transferring page values to another page[^]

http://ramanisandeep.wordpress.com/2008/11/21/passing-values-from-one-page-to-another-page-aspnet/[^]

As walterhevedeich said, product ID and price typically short. So you can go for Query String[^].


这篇关于从数据列表控件发送事件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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