Ask a Question related to ASP.NET Data Grid Control, Design and Development.
-
bill #1
my DataView won't sort
When I set the Sort on a DataView, it is ignored, and I can't figure out
why. I'm using vb.net.
After I successfully populate the DataView, I set the Sort on a String
column, but it doesn't happen, and consequently my datagrid which is bound
to the DataView doesn't get sorted.
There are no errors - I have stepped through the code, and manually set the
Sort in the Command window. The order of the rows doesn't change. I look
at the data in the Command window also (debug.print DataView1(1)(1)) but the
order doesn't change.
What might be the reason for this? Can I sort on a String column?
Thanks
Bill
bill Guest
-
DataView
I must recreated dataview . I am in the designer insert dataview set datasource ... And I set before DataBind datasource on the dataview ... How I... -
Multiple DataBinds fail to reflect change in DataView Sort
Hello all, I have constructed a datatable that is a subset of my dataset. I use a cached dataview as the datasource for my datagrid. For... -
DataView.Sort causing duplicate entries in a DataGrid control
I have a custom object that exposes data through one of its properties that is of type DataTable. I then use the resultant DataTable from 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... -
Scott M. #2
Re: my DataView won't sort
Let's see the code you've placed in the grid's SortCommand event handler.
"bill" <belgie@datamti.com> wrote in message
news:ufBGBha1FHA.3756@tk2msftngp13.phx.gbl...> When I set the Sort on a DataView, it is ignored, and I can't figure out
> why. I'm using vb.net.
>
> After I successfully populate the DataView, I set the Sort on a String
> column, but it doesn't happen, and consequently my datagrid which is bound
> to the DataView doesn't get sorted.
>
> There are no errors - I have stepped through the code, and manually set
> the
> Sort in the Command window. The order of the rows doesn't change. I look
> at the data in the Command window also (debug.print DataView1(1)(1)) but
> the
> order doesn't change.
>
> What might be the reason for this? Can I sort on a String column?
>
> Thanks
> Bill
>
>
>
>
>
Scott M. Guest



Reply With Quote

