如何从devexpress ASPxPageControl中保存动态生成的复选框值 [英] How do I save Dynamically generated checkbox values from devexpress ASPxPageControl

查看:115
本文介绍了如何从devexpress ASPxPageControl中保存动态生成的复选框值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨亲爱的所有





我有一个ASPxPageControl。在这个ASPxPageControl中有一些动态创建的tabpages。在某些情况下,标签的数量可能会有所不同。每个标签页都包含动态创建的复选框列表。在这里,我想在按钮单击时将复选框列表项的选定值保存到sqlserver数据库。在这里我使用了devexpress Pagecontrol。在我的devexpress版本中,没有AspxCheckboxlist可用。因为我使用旧版本。请问任何人请告诉我如何将所选值保存到数据库中...





谢谢......

Hi Dear All


I have an ASPxPageControl. In this ASPxPageControl there are some dynamically created tabpages. The number of tabpages may vary in some situations. Each tabpage contains a dynamically created checkbox list. Here I would like to save the selected values of check box list items to the sqlserver database on a button click. Here I used devexpress Pagecontrol. In my devexpress version there is no AspxCheckboxlist available.because I use an older version. could any one please tell me how to save the selected value into the database...


Thank You...

推荐答案

您有几个选项,但没有看到代码?



我建议制作一个CustomControl来放置您的DevEx控件,如果使用Web表单,则通过属性公开您选择的值。



开发自定义ASP.NET服务器控件 [ ^ ]
You Have several options, but without seeing the code ?

I'd recommend making a CustomControl to put your DevEx control in and then expose your selected value through a property if using web forms.

Developing Custom ASP.NET Server Controls[^]


这篇关于如何从devexpress ASPxPageControl中保存动态生成的复选框值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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