1
Answer

problem in using grid view control

shahid

shahid

16y
2.2k
1
hi

in my project a data grid view in which is show a list of employees which i get from database, i add a even double click on any cell , when i click on any cell, i want to display a form to show information of particular employee.
when i click on row i get row index of clicked row through this i get employee id from list and show them.

but problem is here when i arrange a grid view in ascending or descending order
then i click on any row it give me a row index but through this row index when i get employee id through row index which is not this employee, i want to get original  employee id  through row index

so please any body have solution about this problem
please tell me.
Answers (1)