471,330 Members | 1,587 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,330 software developers and data experts.

DefaultView and sort

Hi,
I have a dataset 'dst' having table 'dt' which is bound to grid, I have
set the sorting order for this by using following code.

dst.DefaultView.Sort = "id, text ASC";

This does not work, however if I set the default view using the follwing
code,
dt.DefaultView.Sort = "id, text ASC";
sort works. Any Reason?

--
Message posted via http://www.dotnetmonster.com
Jul 21 '05 #1
1 3555
Manjunath,

The dataset has no defaultview (it has a defaultviewmanager), therefore how
did you realize this withouth getting an error?

Cor
Jul 21 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by sandman | last post: by
reply views Thread by James | last post: by
reply views Thread by Ian Bennett via .NET 247 | last post: by
reply views Thread by Paul | last post: by
1 post views Thread by Manjunath sp via DotNetMonster.com | last post: by
reply views Thread by Toufik | last post: by
1 post views Thread by Ryan Liu | last post: by
reply views Thread by rosydwin | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.