中国开发网: 论坛: 程序员情感CBD: 贴子 81129
洋洋
问个C#问题:
DropDownList ddl;
ddl = (DropDownList)(e.Item.Cells[5].Controls[0].FindControl("ddlsIDType"));
DataSet ds = new tUserAccountsSystem().GetsIDType();
ddl.DataSource = ds.Tables[0];
报错:未将对象引用设置到对象的实例。
调试ddl是未定义

相关信息:


欢迎光临本社区,您还没有登录,不能发贴子。请在 这里登录