D
Dan
I know this is better suited for a database, but I've been trying to do it
without just to see if I can-and so far I CAN'T!!
I want to save customer/vendor information where the name of the
customer/vendor is saved in an object, and that object is dumped into an
ArrayList(so that it can dynamically grow/shrink). That has worked just
fine. The problem comes when I try to save the customer's past orders.
I've been trying to store the details of these orders(the name of ordered
item and it's cost) in another ArrayList and then boxing it as an object
which is received by the constructor of the Customer class.
But when I try to display the various customers in, say a dropdownlist, I
can't get the order details of said customer to materialize in the datagrid
where I want them. Is it because it's just too nested(the order details
ArrayList)?
Basically, it looks like one of those russian dolls where there's a bunch of
little dolls inside of the bigger ones. And I'm seriously beginning to lose
my mind! I'm about to give up and resort to a database to take care of the
data, but I know this can be done---somehow---I'm just too wet behind the
ears to see it yet. Anyone have any idea? Am I on the right path here?
I'd post some code examples but I deleted them all in frustration. Hope you
guys can help.
without just to see if I can-and so far I CAN'T!!
I want to save customer/vendor information where the name of the
customer/vendor is saved in an object, and that object is dumped into an
ArrayList(so that it can dynamically grow/shrink). That has worked just
fine. The problem comes when I try to save the customer's past orders.
I've been trying to store the details of these orders(the name of ordered
item and it's cost) in another ArrayList and then boxing it as an object
which is received by the constructor of the Customer class.
But when I try to display the various customers in, say a dropdownlist, I
can't get the order details of said customer to materialize in the datagrid
where I want them. Is it because it's just too nested(the order details
ArrayList)?
Basically, it looks like one of those russian dolls where there's a bunch of
little dolls inside of the bigger ones. And I'm seriously beginning to lose
my mind! I'm about to give up and resort to a database to take care of the
data, but I know this can be done---somehow---I'm just too wet behind the
ears to see it yet. Anyone have any idea? Am I on the right path here?
I'd post some code examples but I deleted them all in frustration. Hope you
guys can help.