Go Back   TechArena Community > Software > Software Development
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read

Reply
 
Thread Tools Search this Thread
  #1  
Old 07-10-2009
Member
 
Join Date: May 2009
Posts: 999
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.
Reply With Quote
  #2  
Old 07-10-2009
Member
 
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,
Reply With Quote
  #3  
Old 07-10-2009
Member
 
Join Date: May 2009
Posts: 999
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.
Reply With Quote
Reply

  TechArena Community > Software > Software Development
Tags: ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Can I link my datagrid to a 2D array?"
Thread Thread Starter Forum Replies Last Post
How to add data from Array to a Datagrid? Karsenman Software Development 5 19-01-2010 10:20 AM
Datagrid VS Gridview Techno Guru Software Development 5 16-01-2010 12:42 PM
How can I add Check box in a Datagrid? Adrina_g Software Development 3 07-12-2009 11:22 AM
Assigning an array to an array MACE Software Development 3 18-11-2009 05:19 PM
How to print web datagrid in VB.NET spuff Windows Software 3 31-07-2009 11:33 AM


All times are GMT +5.5. The time now is 04:20 AM.