![]() |
#2
yms1232010-01-24 12:36
|
ascx控件定义了DropDownList,在当前页要读出传回来的值DropDownList tempUserKey = (DropDownList)this.FindControl("DropDownList1");
string role = tempUserKey.Text.;提示System.NullReferenceException: 未将对象引用设置到对象的实例。该如何处理,请各位高手指点,谢谢。