ricio2000
Member
Hi everybody, I have a datagrid that is being populated from a dataset. I want to be able highlight a row and populate the information in the current highlighted row into text boxes whenever i click a button i have called btnModify. Once the information is in the text box. The rest is smooth sailing. Now, I was looking at the following events, dgCusInf_CurrentCellChanged and also dgCusInf_RowHeaderClick which is a protected event, dgCusInf is the name of my datagrid. The first event is triggered as soon as any cell is changed. Not the initial click, but thereafter, it is raised. So thats definitely not what i need. I was looking at the RowHeaderClick event, but it is a protected event. Not sure how to go about implementing its behavior. Maybe some wise mind out there could help me expand my horizons. I need to be able to pull the currently highlighted row upon it being highlighted, it needs to populate certain textboxes. Anyways, hope somebody's been there and done that. Thanks.