I have two list boxes
one is lstRepairJobs and the other one is lstRepairRates
so pretty much when u select a item in the lstRepairJobs (e.g oil Change) then click an add button then the cost of it from sngRepairRates (e.g 18.95F) goes to the lstRepairJobs and im trying to make all the items and cost alight when they are on the lstRepairRates
So this is the code for the array i have:
Dim strRepairJob() As String = {%26quot;Lube Job%26quot;, _
%26quot;Oil Change%26quot;, _
%26quot;Other Services%26quot;, _
%26quot;Radiator Flush%26quot;, _
%26quot;Replace Muffler%26quot;, _
%26quot;Rotate Tires%26quot;, _
%26quot;Transmission Flush%26quot;, _
%26quot;Vehicle Inspection%26quot;}
Dim sngRepairRates() As Single = {18.95F, 24.95F, x, 29.95F, 99.95F, 19.95F, 79.95F, 14.95F}With Visual Basic using string.format how do u align items in array?Why don't you just list the rates after the title of the job in lstRepairJobs? That seems to make more sense, since the text and the value of the item don't need to be the same thing.