Categories: MSDN / DotNet / Java / Scripts / Linux / PHP Ask - La ask - La Answer

VB.NET Array Help

I am having problems getting this array set up, and I know its probably real simple. Here is the basic setup I am sitting at. On formLoad I have this setup.

sysparts(0, 0) = "BrandA"
sysparts(1, 0) = "BrandB"
sysparts(2, 0) = "BrandC"
sysparts(0, 1) = "Product1"
sysparts(1, 1) = "Product1"
sysparts(2, 1) = "Product1"

So I have the Brands in a combobox, and I need to get it so that when I select the brand from the combobox, it shows the relating products to that brand in seperate text boxes below.

Another issue I am having, is linking radio buttons to specific peices of the array. Say if I wanted to select Brand A on a radio button, and have those same Products show in the text boxes as well.

Sorry for the seemingly weird questions. I am just starting with this stuff and playing around with it. Thanks for your help.
[932 byte] By [shahan] at [2007-11-11 9:51:23]