I have a datagrid filled with data from a database. I want to add a handler to all textboxes in the columns of my datagrid.
But these code doenst seem to work. How do you do this????
Nico
Code:
Dim Textcol As DataGridColumnStyle
For Each Textcol In GridEx1.TableStyles("KON").GridColumnStyles
AddHandler Textcol.MouseDown, New MouseEventHandler(AddressOf TextBoxMouseDownHandler)
AddHandler Textcol.DoubleClick, New EventHandler(AddressOf TextBoxDoubleClickHandler)
Next
But these code doenst seem to work. How do you do this????
Nico