GridView1_RowDataBound以后再点击按钮,GridView1自定义文字消失?解决方案
GridView1_RowDataBound以后再点击按钮,GridView1自定义文字消失?VB.NET code Protected Sub GridView1_Ro
GridView1_RowDataBound以后再点击按钮,GridView1自定义文字消失?
VB.NET code Protected Sub GridView1_RowDataBound e.Row.Cells(8).Text = "aabbcc"end subProtected Sub Button1_ClickButton1.Enabled=falseend sub
按下Button1以后
e.Row.Cells(8).Text就没了!
咋办?
[解决办法]没有禁用viewstate?页面回发需要重新绑定哦。