Ask a Question related to ASP.NET Data Grid Control, Design and Development.
-
Rathtap #1
Weird Sort criteria
The dataView has the following columns:
CodeType, Code, Description, Amount, CodeDate
CodeType can have the following
values:'BK','BJ','ZZ','BN','BF','BR','BP','BO','BQ ','BI','BH'....
I want records to be displayed in the grid in the order of CodeType I
have listed above. As you can see, ASC or DESC will not work. How can
I do it, either in the SQL or in the code - javacript or C#?
Rathtap Guest
-
FLV Issue...and it's weird weird weird
I have a playlist that shows thumbnails of each of the .flv's available. I auto-start the first in the list and it plays just fine. If you select... -
Changing Sort criteria of DB table.
hello whats the easiest way to change my recordsets sort criteria from say, alphabetical order to town name, am i best using sql (if so whats the... -
Weird bug....sort of.
Just found something wierd today. If you have a page(s) in IDCS and have the master items deplay set to not show items. Then drag that page onto the... -
memory sort and disk sort
I check the sysprofile table and find there are 700 times disk sort, I think it is lack of sort memory. I want to turn all the disk sort into the... -
Ado sort error-Ado Sort -Relate, Compute By, or Sort operations cannot be done on column(s) whose key length is unknown or exceeds 10 KB.
Ado Sort -Relate, Compute By, or Sort operations cannot be done on column(s) whose key length is unknown or exceeds 10 KB. hi, guys i have asp... -
ashelley@inlandkwpp.com #2
Re: Weird Sort criteria
On 2 Jul 2004 07:16:29 -0700, [email]amcniw@yahoo.com[/email] (Rathtap) wrote:
You will need to add another field to your underlying dataset and sort>The dataView has the following columns:
>CodeType, Code, Description, Amount, CodeDate
>
>CodeType can have the following
>values:'BK','BJ','ZZ','BN','BF','BR','BP','BO','B Q','BI','BH'....
>
>I want records to be displayed in the grid in the order of CodeType I
>have listed above. As you can see, ASC or DESC will not work. How can
>I do it, either in the SQL or in the code - javacript or C#?
by that column when they choose to sort by the codetype column. The
new column could be numeric values.
ie
bk=0
bj=1
zz=2
bn=3
...
-Adam
ashelley@inlandkwpp.com Guest



Reply With Quote

