2012-10-20 87 views

回答

1

您可以禁用從GridView.RowDataBound該小區已使用模板字段,可以使用FindControl方法,然後禁用電池..

protected void GridView1_RowDataBound(object sender, GridViewRowEventArgs e) 
{ 
    if (e.Row.RowIndex == 0) 
    { 
     //Disable that cell here.. 
    } 
} 
+0

正是我一直在尋找!日Thnx。 –