troubleshooting Question

Confused on how to handle a BindingSource, Dataset, TableAdapter that is bound to a DGV?

Avatar of BlakeMcKenna
BlakeMcKennaFlag for United States of America asked on
Visual Basic.NET
2 Comments1 Solution1287 ViewsLast Modified:
I do not know how to update a DataGridView that is bound thru the DEsigner. I have to have this dgv bound thru the designer just because it's easier and quicker. However, the dgv is loaded based of of 2 parameter values (a 4 digit year and a 2 digit month) on the form when it loads. The user has control of these two parameters and can change them anytime. For a month that has no data, obviously the dgv will be empty, when there is data, I'm not sure how to delete and update the grid.

The main difference between this dgv and others that I have worked with via the designer, is that executes a Stored Procedure because of the parameters. I tried using the BindingSource Filter property but it did not like my string that I was passing it.

Anyway, can someone please show me the easiest and most efficient way to handle all updates to a designer bound DataGridView?

Thanks,
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 2 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 2 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros