set up a global variable.... say
Public Asc as Integer = 1
Public Desc as Integer = 0 -- when the grid is set to ascending order and
vice versa...
there are multiple ways to do this....
keep me posted if u still have issues
==============================
S.Ramanujam
Programmer Analyst
Cognizant Technology Solutions (p) Ltd. - CTS
38 & 39 Whites Road,
WCB - Whites Road Circular Building
Royapettah, Chennai - 600014
Ph : +xx xx xxx xxxx Extn 5113 [Off]
: +xx xx xxx xxxx [Res]
-----Original Message-----
From: Abraham Luna [mailto:abe@a...]
Sent: Wednesday, September 06, 2000 8:37 PM
To: pro_VB_dotnet
Subject: [pro_vb_dotnet] datagrid sort
the user can click a datagrids column headers and sort ASC or DESC. so how
do i get a value indicating how a datagrid is sorted.
like:"Stock ASC"
or something i can work with?
---------
i'm using visual studio .net on windows 2000 pro
---
Visual Basic .NET Text Manipulation Handbook
The .NET Framework brings a variety of string manipulation features
to the VB language, and some of these, namely regular expressions
and the StringBuilder class, are something VB 6 developers may not
have seen before. This book teaches you how to manipulate text using
these string matching, manipulation, and replacement classes. Issues
such as Localization and data conversion will also be investigated.
http://www.wrox.com/ACON11.asp?ISBN=1861007302