Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27248

Modifying arrays

$
0
0
I have 3 Arrays

Dim StudentNames() As String = {"Dave", "Brian", "Richard", "Phil", "Vlad"}
Dim ClassTestScore() As Integer = {"0", "0", "0", "0", "0"}
Dim ConicalBasketMark() As Integer = {"0", "0", "0", "0", "0"}

I need code to modify the test classtestscores array and the conicalbasketmark array when a name in the studentnames array is entered into the text box depending on which name is entered

I have 3 text boxes for input textbox1 for student names, textbox2 for classtestscores and textbox3 for conicalbasketmark.. I then have a store marks button which i need to program to update the classtestscore array with the new number and the conicalbasketmark array with the new number for the name of the person in the student names textbox which will be a name in the array

can anybody recommend how i can do this

Viewing all articles
Browse latest Browse all 27248


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>