我有一DataList:dllReportDefine,某行处于Edit状态时,中间有一DropDownList,我在ItemDataBound事件中用
dllReportDefine = (DropDownList)e.Item.FindControls("ddlReportDefine")
引用dllReportDefine然后给它绑定数据,老报错没有引用对象的实例,没找到dllReportDefine另外,在Select状态是有一Label,想让它的Text作为此DropDownList的选定项,但是,也找不到这个Label.
dllReportDefine = (DropDownList)e.Item.FindControls("ddlReportDefine")
引用dllReportDefine然后给它绑定数据,老报错没有引用对象的实例,没找到dllReportDefine另外,在Select状态是有一Label,想让它的Text作为此DropDownList的选定项,但是,也找不到这个Label.
解决方案 »
- 关于jquery的jQuery(html, props)
- config 配置问题
- 如何获取文件中指定内容??!!!
- 怎样使dll文件属性具有强名称,求高手指教,急等解决方案,马上给分
- winform 控制台 wpf 有没有类似Response.End();的方法?
- Can you tell me the difference between scrollTop and offsetTop? Reminder, I have
- 求 提交表单的隐藏与显现问题,看看能实现不?来者有分,虽然我的分已经很少了
- 虚拟空间不支持url重写。请教解决办法
- System.Data没有ADO?
- 简单问题,大家别笑
- 求一正则表达式
- 有没有人在.net环境中使用javaapplet?
{
dllReportDefine = (DropDownList)e.Item.FindControls("ddlReportDefine") }