Results 1 to 3 of 3

Thread: Can I link my datagrid to a 2D array?

  1. #1
    Join Date
    May 2009
    Posts
    1,010

    Can I link my datagrid to a 2D array?

    Hello,

    Can I link my datagrid to a two-dimensional array? I ask this question because the data I want to see are results of many treatments and do not exist in the raw database. I inform you that I am working in a VB ASP.NET enviroment

    Thank you in advance.

  2. #2
    Join Date
    Nov 2005
    Posts
    1,323

    Re: Can I link my datagrid to a 2D array?

    Hello,

    If one believes the Microsoft documention on datagrid for these documentation you Can check this link : http://msdn.microsoft.com/en-us/libr....datagrid.aspx, it is not possible to set datasource for a multidimensional array to a datagrid. Now, perhaps you should take interest in your data back as lists of objects rather than tables, in this case, you can put it in a datagrid.

    Good luck,

  3. #3
    Join Date
    May 2009
    Posts
    1,010

    Re: Can I link my datagrid to a 2D array?

    Thank you, I Will try that myself. I asked myself this question because I thought that the datagrid is properly made to data from the database. and there is another component Xgrid to whom I give another type of data source. it may be possible that I can be wrong, but Would Like to thank you as well.

Similar Threads

  1. How to add data from Array to a Datagrid?
    By Karsenman in forum Software Development
    Replies: 5
    Last Post: 19-01-2010, 10:20 AM
  2. Datagrid VS Gridview
    By Techno Guru in forum Software Development
    Replies: 5
    Last Post: 16-01-2010, 12:42 PM
  3. How can I add Check box in a Datagrid?
    By Adrina_g in forum Software Development
    Replies: 3
    Last Post: 07-12-2009, 11:22 AM
  4. Assigning an array to an array
    By MACE in forum Software Development
    Replies: 3
    Last Post: 18-11-2009, 05:19 PM
  5. How to print web datagrid in VB.NET
    By spuff in forum Windows Software
    Replies: 3
    Last Post: 31-07-2009, 11:33 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,751,341,853.35804 seconds with 16 queries