- 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?页面回发需要重新绑定哦。