You must Sign In to post a response.
  • Category: ASP.NET

    Regarding edit on gridview in the same page

    I have a one form when i click the save button it will save in db and bind with gridview, when i press the edit button of gridview it bind with in the above form and when i update it, it will updated.

    how can i do it,any one explian me....
  • #769530

    Hi Kumar,

    There are many samples available to explain the gridview edit. Refer the below url with the complete sample with the source code.

    V.M. Damodharan
    "Your talent will be worthless, when you have fear and tension."

  • #769588
    Hi Damodharam

    i want edit on the form not in gridview.


  • #769626
    Hi Prasanta,

    You can use CellClick event in win forms or SelectedIndexChanged event in ASP.NET
    Below code will work to get the value of cell of current row.
    Textbox1.text = GridView1[e.RowIndex, e.ColumnIndex].Value;

    Hope this will help you.

    Nirav Lalan
    DNS Gold Member
    "If you can dream it, you can do it."

  • Sign In to post your comments