传递一个checkboxlist值 [英] Pass a checkboxlist values

查看:71
本文介绍了传递一个checkboxlist值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何使用c#将checkboxlist,radiobuttonlist,dropdownlist的值传递到asp.net中的另一个页面?

How to pass values of checkboxlist,radiobuttonlist,dropdownlist to another page in asp.net using c#?

推荐答案

好吧,我做了题目,你的问题很少简洁。你的意思是传递价值,这不是重定向。



进一步参考我在下面的链接回答的问题



如何在没有会话的ASP.net c#页面之间传递对象,而不是值? [ ^ ]



并且还要经过



如何:在ASP.NET网页之间传递值 [ ^ ]



有很多方法可以做到这一点。请记住,所有技术都有自己的优点。和disadv,所以首先找出方案并使用适当的方案。



问候
Well,I made title and your question lil bit concise.You mean to pass values,that is not redirect.

Further refer to question i have answered at below link

How to pass objects, not values, between pages in ASP.net c# without Session?[^]

And also go through

How to: Pass Values Between ASP.NET Web Pages[^]

There are number of ways you can do this.Keep in mind,all the techniques have its own adv. and disadv, so first figure out scenario and use the appropriate one.

Regards


声明一个变量并将值赋给那个。



之后使用查询字符串或会话变量你可以传递到下一页。





从复选框中读取值使用此链接 [ ^ ]





使用会话传递价值 [ ^ ]
Declare a variable and assign the value to that.

After that using Query string or Session Variable you can pass to the next page.


Reading Value from checkbox use this link[^]


Passing Value using session[^]


这篇关于传递一个checkboxlist值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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