Hi guys,
I have run into a little problem once again in my program. I have struggled with this for a while looking around for answers, and have made a make shift method to do a work around. But this will consume a lot of resources and is unnecessary i believe.
My problem is this. I have a dataset which has several relations, i then also have enough datagridviews to display the levels of data. Now i have certain columns in the data that will be sql functions such as SUM and COUNT on the data in the child tables.
My problem is that i want to be able to refresh the parents sql column whenever a child datagridview has been altered.
My makeshift way around this before was to recreate the dataset, recreate the bindingsources and then attaching them to the datagridviews.
What is the best way to do this without needlessly repeating steps?
In summation, all it needs to be able to do is refresh the parents current row in the table from the child data that is related to it.
Sorry if my wording is a little odd, it's very late and I have been wracking my brain over this too long.
Cheers
Gun Slinger
I have run into a little problem once again in my program. I have struggled with this for a while looking around for answers, and have made a make shift method to do a work around. But this will consume a lot of resources and is unnecessary i believe.
My problem is this. I have a dataset which has several relations, i then also have enough datagridviews to display the levels of data. Now i have certain columns in the data that will be sql functions such as SUM and COUNT on the data in the child tables.
My problem is that i want to be able to refresh the parents sql column whenever a child datagridview has been altered.
My makeshift way around this before was to recreate the dataset, recreate the bindingsources and then attaching them to the datagridviews.
What is the best way to do this without needlessly repeating steps?
In summation, all it needs to be able to do is refresh the parents current row in the table from the child data that is related to it.
Sorry if my wording is a little odd, it's very late and I have been wracking my brain over this too long.
Cheers
Gun Slinger
Comment