C# Programming
11-23-2009, 06:30 AM
Anybody knows how to set up checkbox column in a dataGridView, after setting the dataGridView1.DataSource?
At first the datagridview does not have any column, so after setting the dataSource it will create column automatically, but I don't know how to automatically set the column to be checkbox type.
Thanks.
Don't work hard, but work effectively.
Web hosting (http://www.smallwebsitehost.com) | invest money (http://www.ourhappymoney.com) | Option strategy (http://www.bestoptionstrategy.com)
At first the datagridview does not have any column, so after setting the dataSource it will create column automatically, but I don't know how to automatically set the column to be checkbox type.
Thanks.
Don't work hard, but work effectively.
Web hosting (http://www.smallwebsitehost.com) | invest money (http://www.ourhappymoney.com) | Option strategy (http://www.bestoptionstrategy.com)