locked
Updating Problem in GridView RRS feed

  • Question

  • User-465541547 posted

     

    I have a Grid View. I have Databound Columns in it.GridView is databound with a ArrayList. I have enabled Editing. So when i press Update Button after Editing of records i m handling the update event. In update event i want to update that ArrayList with the new values.

    Question is how can i assign new values to the ArrayList. I mean i have got the Row Object here.

    GridViewRow row = (GridViewRow)gdvCompetencies.Rows[e.RowIndex];

    Now i want to pickup a particular updated column value and assign that to the ArrayList.

    Please Help.

    Regards,

    Gaurav

    Friday, January 25, 2008 12:11 AM

Answers

  • User1304561540 posted

    Do you have the arraylist, coming from the database? Your question is not clear, can you send me your code?

    Basically, you can use removeat, and insert properties of ArrayList.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Friday, January 25, 2008 1:49 AM

All replies

  • User-1105531209 posted

    This is not the exact what you are looking for but it might help you.

    Friday, January 25, 2008 12:41 AM
  • User1304561540 posted

    Do you have the arraylist, coming from the database? Your question is not clear, can you send me your code?

    Basically, you can use removeat, and insert properties of ArrayList.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Friday, January 25, 2008 1:49 AM