THIS IS MY GRIDVIEW
| Slno | date | type | ACTION |
| 1 | 2019 /01/10 | 1 | (button) EDIT |
| 2 | 2019/01/10 | 2 | (button) EDI |
| (button)SAVE |
i'm already datakeysname is set in the gridview.and
i want save data from gridview using footer buttonand that datakeyname value paasing to sql..
on that btnclick event is generated.
i didn't get each row datakeynames value.
string id=gdvlist.Datakeys[gr.rowindex].value.tostring(); i pass this line but i got this type of error
Index was out of range. Must be non-negative and less than the size of the collection.
how to access datakeyname and how to save data fron grid on footer button click.
plz help me. thnkx in adv

Bryian TanPosted Jan 11, 2019, 1:24 PM
Reylin MathewPosted Jan 14, 2019, 12:28 AM
Satyaprakash SamantarayPosted Jan 13, 2019, 12:59 PM
Satyaprakash SamantarayPosted Jan 13, 2019, 12:58 PM
Sanwar RanwaPosted Jan 12, 2019, 1:35 AM