开发者

how to store grid cell value in text box

开发者 https://www.devze.com 2022-12-22 06:06 出处:网络
i m using thestatement below to store value of grid cell into a text box . But (GridView1.Rows[i].Cells[4].Text) is displaying as null .

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

精彩评论

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