Custom datagridvew OnClick event

  • Thread starter Thread starter guyinkalamazoo3
  • Start date Start date
G

guyinkalamazoo3

Guest
I am new to using custom controls and I had the fortune to need a custom datagridview that groups like data and it works great. And thanks to Karen Payne for a former answer in building this custom control. It is working, however I now have need to fire off an OnClick event. I need to capture the ID of that row that will store and pass that ID to another stored procedure for yet another informational window. I might me answering my own question, but do I need to make a public variable for that custom control within it's own class language? And then create it's own OnClick event within the same class? But then when I draw that control (I am using it on a tab control page) how do I add a handler for that OnClick event?

Thanks for the information


Brad Allison

Continue reading...
 
Back
Top