For sure you can use viewstate. For those kind of problems, it is the best
(I think).
Just put active sort order in one viewstate variable and column name that
the sort is made on into another viewstate variable.
--
SevDer
http://www.sevder.com
A new .NET Source For .NET Developers
"melanieab" <me*******@discussions.microsoft.com> wrote in message
news:C7**********************************@microsof t.com...
Hi,
I have a datatable in a datagrid and am trying to see if a column is
sorted
in ascending or descending order. I've been messing around with dataview,
but haven't been able to find a way yet. Is there anything like viewstate
that I can use? If not, what's the best way to go about this?
Thanks!
Mel