李颖:
ddl = (DropDownList)(e.Item.Cells[5].Controls[0].FindControl("ddlsIDType"));
[阅读: 607] 2005-01-13 03:00:44
这里不一定能取到值八
还是测试一下好
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