Interesting idea on returning an array of UserDirectoryObject.

I know you can bind an array to a DataGrid.  I know what classes need to
be implemented in order to enable sorting on an array of
UserDirectoryObject.  What I'm not sure of is how I would replicate the
row filtering functionality you get automatically with DataView.

On Tue, 6 Jan 2004 15:45:31 -0500, Fields, Jay <[EMAIL PROTECTED]>
wrote:

>I generally add my rows like so:
>for (int i=0;i<userList.Count;i++)
>{
>        tblUsers.Rows.Add(new object[] {user.lastName, user.FirstName});
>}
>Also, using a for loop instead of a foreach helps a little.
>Additionally, why not have .getUsers() return a UserDirectoryObject[]?
>You can bind an array to a DataGrid.
>Just some suggestions.
>Jay

===================================
This list is hosted by DevelopMentorŪ  http://www.develop.com
Some .NET courses you may be interested in:

NEW! Guerrilla ASP.NET, 26 Jan 2004, in Los Angeles
http://www.develop.com/courses/gaspdotnetls

View archives and manage your subscription(s) at http://discuss.develop.com

Reply via email to