开发者

how to edit data in gridview

i want to know about how to edit data into girdview, and what is the function of EditIndex properti开发者_JAVA技巧es.


You can modify cell data like this:

GridView1.Rows[0].Cells[0].Text = "NewText"; 

EditIndex property is used to programmatically specify or determine which row in a GridView control to edit.

Check the MSDN Support for both the EditIndex and Editdata in a gridview

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜