John:
Here's my answer from the WindowsForms ng
Create a DataView as a static property and bind everything to it. If you
need seperate datasources with the same sort order, same thing... static
class storing the Index of the column you want sorted on . Every time you
bind the grid, set the sort order (ideally of a dataview) to that
columnindex.
If you are in VB.NET, you can just use modules if you are uncomfortable with
Static properties, they are quite similar.
HTH,
Bill
www.devbuzz.com www.knowdotnet.com
"John Smith" <a_*@abv.bg> wrote in message
news:#R**************@TK2MSFTNGP12.phx.gbl...
i have a win form w/ a datagrid inside
while the app is running many instances of this form r created and closed
how can i ensure that the sort user used last time is kept until the whole
app is
closed
TIA