problem in "datagridview_celldoubleclick" event

rajesh.forum

Well-known member
Joined
Sep 7, 2007
Messages
55
Programming Experience
Beginner
Hi all!!
Im using "datagridview_celldoubleclick" in my application.Here the problem is , the event gets raised even when i double click the column header of the corresponding cell.please suggest me an idea as soon as possible.


thanks,
rajesh
 
A column header is a cell too, so of course the event gets raised when you double-click a column header. As for all events, the 'e' parameter contains data pertaining to the event. Investigate its properties and you'll find that it tells you what type of cell was double-clicked. You can then choose which types of cells to ignore. When you had an issue using this event the first thing you should have done was gone to the MSDN library and read its documentation. That would have led you to this information on your own.
 
Back
Top