开发者

how to store grid cell value in text box

i m using the statement below to store value of grid cell into a text box . But (GridView1.Rows[i].Cells[4].Text) is displaying as null . plz any one tell me why'开发者_StackOverflow社区s this happening

Project_name.Text = GridView1.Rows[i].Cells[4].Text; 


Make sure you're GridView1.Rows[i].RowType is a DataControlRowType.DataRow

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜