Patrick A
2010-03-26 03:05:17 UTC
All,
When I save datagridview record changes, should the current sort
column and order save?
I have a datagridview I placed onto a form, and it is "fed" without
any sorting from a DB (bound datasource).
Changes to any cell in the datagridview save just fine, but if the
user sorts the datagridview by clicking on a column (as they like to
do), that does not save/update the DB. (And does not persist from
session to session.)
Is this by design?
If not, any suggstions as to what to verify or enable to make it
work?
If so, any suggestions as to how I might code around this? Users want
sort to stay sorted, and some other parts of my app re-purpose the
data, which should also appear in the sorted order.
Thanks,
Patrick
When I save datagridview record changes, should the current sort
column and order save?
I have a datagridview I placed onto a form, and it is "fed" without
any sorting from a DB (bound datasource).
Changes to any cell in the datagridview save just fine, but if the
user sorts the datagridview by clicking on a column (as they like to
do), that does not save/update the DB. (And does not persist from
session to session.)
Is this by design?
If not, any suggstions as to what to verify or enable to make it
work?
If so, any suggestions as to how I might code around this? Users want
sort to stay sorted, and some other parts of my app re-purpose the
data, which should also appear in the sorted order.
Thanks,
Patrick