在datalist的itemtemplete中使用用户控件userctrl,定义userctrl的属性value1,代码是
Control c=(UserControl)DataList1.Items[i].FindControl("userctrl");但是c没有属性value1
就是输入C.后不提示属性value1,请问如何获得属性value1,谢谢高手
Control c=(UserControl)DataList1.Items[i].FindControl("userctrl");但是c没有属性value1
就是输入C.后不提示属性value1,请问如何获得属性value1,谢谢高手
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货