Click here to Skip to main content
15,997,509 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
i want to split a string and store into three different arrays
Posted
Updated 19-Mar-11 23:50pm
v2
Comments
OriginalGriff 20-Mar-11 5:06am    
That doesn't make a whole lot of sense: you appear to be (badly) assembling a string from data in your DataGrid.
Where does the three-D array come in?
Sergey Alexandrovich Kryukov 20-Mar-11 13:46pm    
Contradiction in title and the statement: "three dimensional" and "three different arrays".
--SA

1 solution

You seem to be a little confused, or you aren't explaining this very well - or I just don't know what teh heck you are talking about.

You initial version had you assembling a string out of selected items from your DataGrid, and now you need to split a string into three arrays.

What are you trying to do? What are the three arrays supposed to hold? How do you know where to split the string, and which array do you need to put the part into?

We are trying to help, but if you don't give us enough information we are just guessing!

Try to describe your problem, not your solution: What is the code meant to do rather than how it does it.

"Take selected Items from a DataGrid and put them into an array of rows, each holding an array of column data" might be a description - I don't know what you are trying to achieve!
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900