VB.net Problem

Hello Im a begginer to this language and would love some help if anyone can help out.

I have to write a program for a class. There are many parts to it but im stuck at the first part. I have already figured out the rest of the code which I can tie all togather. Basically I have a form where the user enters in a product number, description, and price. The user can enter up to 10 of these in. I need to use a multidimentional array.

Dim array As String(,) = New String(9, 2) {}

Now my question is in the {} what needs to be added to this. Also under the first priv sub:

Private Sub cmdEnter_Click(ByVal sender As System.Object, _
ByVal e As System.EventArgs) Handles cmdEnter.Click

What is the code that will make this work. I need help with the part where they fill up the array blocks and saves it. I then have another priv sub:

Private Sub cmdPrint_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdPrint.Click

Where the user can click print and the input is show in a textbox.

Any help would be greatly appreciated.

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!