Datagridviewcheckboxcolumn not updating
I create a Win Form Application project in VS2008 and add a Data Grid View and a Button on the Form1. The main thing that springs to mind that is different is that my data is populated from a datasource (Ole Db - access/jet). We welcome your comments and suggestions about how we can improve the support we provide to you.I add a Data Grid View Check Box Column in the Data Grid View. Please feel free to let my manager know what you think of the level of service provided. Is there any difference between your code and mine? You can send feedback directly to my manager at: ms****@ Item(My Column): -1 Object The sql is of the form: SELECT ... the database is Access/Jet (mdb) and I'm using an Ole Db Connection and Ole DBAdapter to execute the query and populate the Dataset. I performed a test on this but didn't reproduce the problem on my side.
The offering is not appropriate for situations that require urgent, real-time or phone-based interactions or complex project analysis and dump analysis issues. You can send feedback directly to my manager at: ms****@ Please note that each follow up response may take approximately 2 business days as the support professional working with you may need further investigation to reach the most efficient resolution. This seems to do the trick: Binding Context(My Data Grid View. When theapplication enters into break mode, you can check the type of the Data Table's column. Please feel free to let my manager know what you think of the level of service provided. ================================================== Get notification to my posts through email? Note: The MSDN Managed Newsgroup support offering is for non-urgent issues where an initial response from the community or a Microsoft Support Engineer within 1 business day is acceptable. I guess I'll have to maintain my own status flag now to do this. If not, you need to set abreakpoint in your code and press F5 to run the application. We welcome your comments and suggestions about how we can improve the support we provide to you. The reason behind this problem is that data binding doesn't refresh data of the current item in UI when the data in the underlying data source are changed. If so, you may open the Data Set in the designer and select the column of the Data Table and check the column's type in the Properties window. Data Source = data Dim col As New Data Grid View Check Box Column Me. This problem is not relevant to multiple columns' being bound to the same data property. Is the Data Table strong-typed in your application?
This posting is provided "AS IS" with no warranties, and confers no rights. If you have any question, please feel free to let me know.