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.
Loading
ArshadPosted Aug 8, 2008, 2:28 PM
wel just call your Function again n again where you are getting the Index of row and getting the EmployeeId.After Asscending and desending order, thats all, coz you have written that ur getting the Index and EmpId at the first time but after Assending and Desending you are getting the Problem, just call that function again, I hope u will get it, Thanks