add advanced textbox to datagridview

hamid

Centurion
Joined
Jul 13, 2004
Messages
114
i have my advanced textbox (keypress and keydown overloaded) how can i add my textbox to one of datagridview columns?
c#.net

many many thanks
 
Ok, i create my advanced DataGridViewTextBoxColumn class
how can i add this column to my datagridview ?
 
Add the instance of your DataGridViewTextBoxColumn class to the GridColumnStyles.
Code:
yourDataGrid.theTableSytle.GridColumnStyles.Add(yourTextBoxInstance)
The next step would be setting up the Mapping Name and other necessary properties of yourTextBoxInstance. The site suggested by SonicBoomAu has quite a reference for manipulating a datagrid in windows application. I'd also suggest visiting that site and finding a relevant reference for you issue.
 
Back
Top