实际上我的问题是我想在gridview的页脚行中插入新行,同时单击gridview之外的按钮,我无法在gridview的页脚行中获取文本框的值
我的编码是
将 footerRow 调暗为 GridViewRow = grvTBD_LoanProducts.FooterRow Dim sStateCode As String = TryCast(footerRow.FindControl("txtStateCode"), TextBox).Text Dim sEntryTypeID As String = TryCast(footerRow.FindControl("txtEntryTypeID"),TextBox).Text
上面的编码不起作用帮助我修复它提前谢谢