表单视图中的复选框 [英] checkboxlist inside a formview
本文介绍了表单视图中的复选框的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
您好,我有一个formview,该视图显示从sqldatasource(其中存储过程具有一个表)中提取的信息.我想在formview中有一个复选框列表,该列表框可以允许用户输入信息,然后查看该信息.此复选框列表将从不同的数据源中提取数据,并使用与另一个表不同的表来存储过程.
您已阅读本文: ^ ]
我相信这将是最有用的.它与ASP无关,但是显示了一种从数据源获取数据的好方法.我认为可以将此原则用于ASP.NET
hello, i have a formview that displays information that is being pulled from a sqldatasource in which the store procedure has one table. I want to have a checkboxlist inside a the formview that can allow the user to enter information and then see that information. This checkboxlist would pull the data from a different datasource and store procedure with a different table from the other one. formview will only allow me to have 1 datasource how can i achieve what i want?
解决方案
Have you read this article: A Custom CheckedListBox with Datasource Implementation (Bindable)[^]
I believe it would be most useful. It''s not about ASP but shows a good way to get data from a datasource. I believe that this principle could be used against ASP.NET
这篇关于表单视图中的复选框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文