如何使用vb.net 2005访问gridview模板中的控件. [英] how to access control inside the gridview template..... using vb.net 2005

查看:77
本文介绍了如何使用vb.net 2005访问gridview模板中的控件.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

碎片整理计划页面[计划/重新计划按钮应重定向到此页面]
一世.设计应类似于图1.0
ii.在Schedule时,它应该从数据库(SQL)中读取所有数据,并使用Action(YES/NO)在网格中显示它;日期选择器
iii.重新计划时,应从数据库(SQL)中读取所有数据,并且必须禁用当前日期碎片整理的操作/计划







需要帮助,请帮助我如何访问gridview内的控件,因为我的下拉列表,日期选择器位于tht内,

Defrag Schedule Page [Schedule/Reschedule button should redirect to this page]
i. Design should be similar to Fig 1.0
ii. When Schedule it should read all the data’s from the database (SQL) and display it in a grid with Action(YES/NO) ; Date Picker
iii. When Reschedule it should read all the data’s from the database (SQL) and current date defrag’s action/schedule has to be disabled







need help pls help me how to access control inside gridview because my dropdownlist, date picker is inside tht,,,

推荐答案

我不知道您在尝试什么与此相关. 访问控件"是什么意思?您打算如何处理?

网格内部的editcontrol只是编辑保留在网格绑定到的数据源中的值.

就个人而言,我永远不允许用户在数据网格内部编辑值.我总是提供一个编辑页面,使我拥有更大的灵活性并可以控制用户如何编辑值.
I have no idea what you''re trying to do with this. What do you mean by "access the control"? What are you trying to do with it??

The editcontrol inside of a grid just edits a value that is kept in the datasource the grid is bound to.

Personally, I never allow a user to edit a value inside of a datagrid. I always provide an edit page, giving me far more flexibility and control over how the user edits values.


这篇关于如何使用vb.net 2005访问gridview模板中的控件.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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