Hello Every1
In VB.NET 2005
I have a command button on my form and its name is cmdDelete which I have some code to deleting records from database in the Click Event of cmdDelete.
I need to pressing Delete key on my keyboard and Raising the Click Event of cmdDelete.
Am I right to think about raising Event in this Task, If Yes how can I do that?
I think that its not a good idea to put the deleting records Code in a procedure and then calling that Procedur. Do u thing so?
In VB.NET 2005
I have a command button on my form and its name is cmdDelete which I have some code to deleting records from database in the Click Event of cmdDelete.
I need to pressing Delete key on my keyboard and Raising the Click Event of cmdDelete.
Am I right to think about raising Event in this Task, If Yes how can I do that?
I think that its not a good idea to put the deleting records Code in a procedure and then calling that Procedur. Do u thing so?