New Whitepaper/Samples for creating custom DataGridView cell/columns
The DataGridView developer has recently completed and posted two new whitepapers that implement a custom RadioButton cell/column and a numeric up/down cell/column.
Check them out and post comments here: https://msdn.microsoft.com/en-us/library/aa730882(v=vs.80).aspx
-mark
Comments
Anonymous
March 01, 2006
Mark,
I don't know if you have the time to answer this, but I found your blog so here goes.
I'm trying to use a DataGridView in a C# application to display data that is being updated on a thread that gets its information from a tcpsocket connected to a stock market data server. I get large a varied number of exceptions from the DataGridView because it is trying to paint while the underlying DataSource is being modified.
My DataSource inherits from DataSet and uses a DataTable to keep row information. Is there any way to lock the DataTable or DataGridView so that the table can be updated?
The person using the program might be sorting or changing column sizes while the DataTable is changing. Any ideas?
Thanks,
GerryAnonymous
August 27, 2009
Hi , This is very good sample code for datagridview....How I can use this code to make it editable. How to populate the data in datagridview control from database.what i need to use to do it Your help will be appreciated. Anil..Anonymous
July 31, 2012
Your link has a space character at the end. forums.microsoft.com/.../ShowPost.aspx