siddhesh
siddhesh

Reputation: 11

how to edit data in gridview

i want to know about how to edit data into girdview, and what is the function of EditIndex properties.

Upvotes: 1

Views: 650

Answers (1)

CloudyMarble
CloudyMarble

Reputation: 37566

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

Upvotes: 1

Related Questions