- Joined
- Jan 20, 2009
- Messages
- 21,122
- Likes received
- 773
- Thanks received
- 222
- Location
- Clown World
You are just propogating a bad design.
Create a class to represent the data. Create a constructor that will consume your mad array of strings. Bind the grid to a List<T> of these objects.
Don't pass the array around your application. Get it into nice objects ASAP.
I agree. However this has become more of an intellectual challenge now. Clearly a datatable would do.
I think I will have to go this one alone. If I find something out I will post back here.
Edit : It was only because I was asked, and did not know the answer that made me go looking. I would of course use good application design if I had the authority. "Tread lightly" was the advice in a recent thread.
