摘要:
1,GridView模板列中的TextBox的ontextchanged事件中获取当前行的某列GridView模板列有一TextBox,TextBox的AutoPostBack属性为True,在TextChanged事件中可通过如下代码获取当前行某列的值: TextBox t = (TextBox)sender; GridViewRow drv = (GridViewRow)t.NamingContainer; int rowIndex = drv.RowIndex; //行号2,onclick ;onserverclick<input type="button" i 阅读全文