![]() |
#2
冰残剑2007-04-29 10:28
|
代码如下:
protected void GridView1_RowCreated(object sender, GridViewRowEventArgs e)
{
TextBox tb_uid = (TextBox)(e.Row.Cells[0].Controls[0]);
if (tb_uid.Text.Trim() != “admin”)
{
...
}
}
出现以下错误:
指定的参数已超出有效值的范围。