This question is in continuation from the following link:
http://www.experts-exchange.com/Microsoft/Development/.NET/Visual_Studio_.NET_2005/Q_23328835.htmlI populate my datagridview with a press of a button, when all the records are displayed, the VERY FIRST ROW is selected by default. I need to either disable that selection or put in a statement that will let me delete the selected record. I also have posted my Row enter event in the previous post. So, what happens is that when I press my "delete" button, a message pops up that says that "no record is currently selected" EVENTHOUGH it is selected by default WITHOUT an active click.
Had anyone encountered a similar issues and have a solution?
thank you
Start Free Trial