JDYoder Posted January 29, 2009 Posted January 29, 2009 (edited) I have a strange error with a DataGridView. I attached dummy code to show it. As you can see, when you click the 1st button, it loads the DGV manually with dummy data and the DGV row formatting code is applied as expected. But when you click the 2nd button to load the DGV via a query, the DGV row formatting code does NOT apply as expected. (You can click the "Redo" format button to make it work, but I need it to work when the form loads.) Any idea why the formatting won't take place with the 2nd method? (BTW, the second method via the query doesn't remain bound to the DB, does it? I don't want it to, and I assume it doesn't since the DataAdapter is destroyed, but I want to know for sure.) Thanks.Grid.zip Edited January 29, 2009 by JDYoder Quote
kulrom Posted March 19, 2009 Posted March 19, 2009 If i understand your question then you are right. Unfortunatelly i cannot run your project as i am working on x64 WinXP so JET is not supported. Quote
stumper66 Posted March 30, 2009 Posted March 30, 2009 If i understand your question then you are right. Unfortunatelly i cannot run your project as i am working on x64 WinXP so JET is not supported. I am running Windows 7 x64 and I can run it, as long as you change it from any CPU to x86. I see what the problem is, however I haven't been able to find a solution either :( Quote
JDYoder Posted March 30, 2009 Author Posted March 30, 2009 Thanks for checking into it and trying. Quote
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.