-
Array As Datasource of DataGrid
Is it possible to have an Array or an ArrayList as the datasource of a datagrid
in Windows Forms?
I tried doing so and found that the datagrid displays the lengths of the
Array items.
Is there an alternative to using a DataTable or a Dataset as the Datagrid's
datasource
-
Re: Array As Datasource of DataGrid
Hi Arun,
You can use a strongly typed collection, that is a collection class that
implements at least IList, and has a default Item property that returns a
particular type of class whose public property members will be displayed in
the datagrid.
"Arun" <arun999@yahoo.com> wrote in message news:3c8da839$1@10.1.10.29...
>
> Is it possible to have an Array or an ArrayList as the datasource of a
datagrid
> in Windows Forms?
> I tried doing so and found that the datagrid displays the lengths of the
> Array items.
> Is there an alternative to using a DataTable or a Dataset as the Datagrid's
> datasource
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks