中国开发网: 论坛: 程序员情感CBD: 贴子 81131
李颖: ddl = (DropDownList)(e.Item.Cells[5].Controls[0].FindControl("ddlsIDType"));
这里不一定能取到值八

还是测试一下好

DropDownList ddl;
ddl = (DropDownList)(e.Item.Cells[5].Controls[0].FindControl("ddlsIDType"));
if (ddl != null)
{
DataSet ds = new tUserAccountsSystem().GetsIDType();
ddl.DataSource = ds.Tables[0];
}
DISSENT IS THE HIGHEST FORM OF PATRIOTISM !

--Thomas Jefferson

相关信息:


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