hamid Posted February 18, 2007 Posted February 18, 2007 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 Quote [ once4ever ]
SonicBoomAu Posted February 18, 2007 Posted February 18, 2007 Have a look at this site. http://www.syncfusion.com/FAQ/WindowsForms/FAQ_c44c.aspx Quote Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning. -- Rick Cook, The Wizardry Compiled
amir100 Posted February 19, 2007 Posted February 19, 2007 I find it easier to manipulate datagrid in ASP.Net Web Application rather than in Windows Application. :D Quote Amir Syafrudin
hamid Posted February 19, 2007 Author Posted February 19, 2007 Ok, i create my advanced DataGridViewTextBoxColumn class how can i add this column to my datagridview ? Quote [ once4ever ]
amir100 Posted February 20, 2007 Posted February 20, 2007 Add the instance of your DataGridViewTextBoxColumn class to the GridColumnStyles. 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. Quote Amir Syafrudin
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.