D
Denzil
Hi,
I am using the DataView.Sort Property (on a DataView column) to sort
the View based on some condition.
Now the column that I need to sort contains characters and HTML code
that should not be considered when sorting is done. (e.g. -> <B>,
<FONT ...>, " , ' , etc...).
To illustarte:
Example 1
<B>This is a...</B> should be sorted as -> This is a... (disregard the
<B>)
Example 2
"Hello friends..." should be sorted as -> Hello friends... (disregard
the ")
The DataColumn.Expression Property does not support "PATINDEX". It
supports SUBSTRING & LEN though.
And I do not want to do this sorting in the SQL SP. Any pointers will
be appreciated.
Thanks for your time.
Cheerz,
Denzil
I am using the DataView.Sort Property (on a DataView column) to sort
the View based on some condition.
Now the column that I need to sort contains characters and HTML code
that should not be considered when sorting is done. (e.g. -> <B>,
<FONT ...>, " , ' , etc...).
To illustarte:
Example 1
<B>This is a...</B> should be sorted as -> This is a... (disregard the
<B>)
Example 2
"Hello friends..." should be sorted as -> Hello friends... (disregard
the ")
The DataColumn.Expression Property does not support "PATINDEX". It
supports SUBSTRING & LEN though.
And I do not want to do this sorting in the SQL SP. Any pointers will
be appreciated.
Thanks for your time.
Cheerz,
Denzil