How to set focus to a particular row in datagrid

  • Thread starter Thread starter DotNetJunkies User
  • Start date Start date
D

DotNetJunkies User

Hi ,
I am not able to set focus to a particular in row...any pointer will be highly appericated

Thanks,
Abhi
 
Hi,
U can set the Focus to any Row of DataGrid with

'This will Set the 3 rd row of Your Grid as Current Row
dgContact.CurrentRowIndex = 3
'This will Highlight the 3 rd Row.
dgContact.Select(3)

Regards,
Ritesh
 
Back
Top