Write the statements to traverse thestrCategoryarray and display each element's value in the lstCategory control. Use a Do...Loop statement.
What will be an ideal response?
Dim intHighestSub As Integer = strCategory.Length - 1
Dim intSub As Integer
Do While intSub <= intHighestSub
lstCategory.Items.Add(strCategory(intSub))
intSub = intSub + 1
Loop
You might also like to view...
As an alternative to the Delete Columns button in Word, you can right-click on a table column and use the ________ to delete the column
A) Edit table command B) Mini toolbar C) Edit Columns option D) Shortcut menu
When "A-Master" appears on the left side of the ____, this indicates that the A-Master master page is open in the Document window.
A. Menu bar B. status bar C. Panel group D. Pages Panel menu
When working with tables in a VSTO application, the ____ key is used to advance from one cell to the next.
A. SHIFT B. CTRL C. TAB D. ALT
The terminal I/O user interface is familiar to all PC users.
Answer the following statement true (T) or false (F)