Welcome to MSDN Blogs Sign in | Join | Help
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: http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=231989&SiteID=1%20

-mark

Posted: Thursday, February 02, 2006 4:19 PM by Mark Rideout [msft]
Filed under:

Comments

Gerry said:

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,
Gerry
# March 1, 2006 6:49 PM
Leave a Comment

(required) 

(required) 

(optional)

(required) 

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Page view tracker