Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
String multi-dimensional arrays
Message
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
C# 3.0
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01464631
Message ID:
01464775
Views:
48
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.....
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform