troubleshooting Question

initialiize array

Avatar of jagguy
jagguyFlag for Australia asked on
.NET ProgrammingVisual Basic.NETMicrosoft Development
4 Comments1 Solution345 ViewsLast Modified:
I am using silverlight.

I initialize a 2D array and load the data like so in this smaller example

  Dim gridInfo(,) As Integer = {{34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34}, _
                               {34, 34, 34, 31, 32, 33, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34}, _
                               {34, 34, 34, 28, 29, 30, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34}}

q1)The issue is i cant load the data from a file because silverlight doesnt load files from local hard drives. IS there a better way

q2)I need to copy this data into another 2D array so the rows are stored in reverse order. The last row here needs to be the first and 1st row will be the last (80 rows). The numbers represent an image formation and easier to have information coded in like this as i can see on the screen how it looks . Is there an easier way?
     
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 4 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 4 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros