Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
String multi-dimensional arrays
Message
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
C# 3.0
Database:
Visual FoxPro
Divers
Thread ID:
01464631
Message ID:
01464775
Vues:
49
That was a perfect set of code, Viv. I get to some concepts where I struggle and this was one of them. This is so much easier in Visual FoxPro. Some of this coding in C# is not that intuitive.

Cecil

>If you must stick with the array then you could build a single dimension copy for the listbox:
int rows = _crossRefArray.Length / 4;
string[] listboxSource = new string[rows];
for (int i = 0; i < rows; i++)
   {
      listboxSource[i] = _crossRefArray[i, 0];
   }
CCCListBox.DataSource=listboxSource;
>But, on the face of it, I'd favour using a list of objects rather than the _crossRefArray - more flexible.....
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform