M
Mike Kline
Hi All!
I've this strange DataView sort bug and i can't do any sorting
activities! Below is my code...
---VB.NET Code---
dvFinal = New DataView(objDataSet.Tables(CON_FinalTable))
Dim strSort As String = drpOrderBy.Text & " " & drpOrderStyle.Text
dvFinal.Sort = strSort
Response.Write(strSort)
---End VB.NET Code---
And I got the following error...
---Error Message---
Exception Details: System.IndexOutOfRangeException: Cannot find column ASC
---End Error Message---
I don't know why DataView is treating sort expression "ASC" as the
column name!!!
Please help!!!
Thank you all in advance!!!
MK
I've this strange DataView sort bug and i can't do any sorting
activities! Below is my code...
---VB.NET Code---
dvFinal = New DataView(objDataSet.Tables(CON_FinalTable))
Dim strSort As String = drpOrderBy.Text & " " & drpOrderStyle.Text
dvFinal.Sort = strSort
Response.Write(strSort)
---End VB.NET Code---
And I got the following error...
---Error Message---
Exception Details: System.IndexOutOfRangeException: Cannot find column ASC
---End Error Message---
I don't know why DataView is treating sort expression "ASC" as the
column name!!!
Please help!!!
Thank you all in advance!!!
MK