Explain what a DropDownList object is and how you specify items you want to display in the list

What will be an ideal response?


The DropDownList object allows users to select one item from a predefined list. It is similar to the ListBox object used in Windows applications, except that for a DropDownList object, the list of items remains hidden until users click the list arrow button. After adding a DropDownList object to a form and naming it, you can specify the items you want to display in the list. You often want to order these items alphabetically or numerically for ease of use. The first item in this list appears in the DropDownList object by default. The DropDownList object will not display the items in the list until you run the application and display the web form in a browser. The user must click the list arrow to view the complete list of items during execution. The prefix for the name (ID) of the DropDownList object in Visual Basic is ddl.

Computer Science & Information Technology

You might also like to view...

Which type of exception is thrown if a call to the new operator fails?

a. ArithmeticError b. DivideByZero c. bad_alloc d. MemoryError

Computer Science & Information Technology

According to many Americans, ________ violate their privacy and their First Amendment rights

Fill in the blank(s) with correct word

Computer Science & Information Technology

An inline object is an object that can be positioned at a specific location in a document or in a layer over or behind text in a document.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

Which of the following is NOT one of the inherited member methods of the object class?

A. ToString( ) B. Equals( ) C. GetType( ) D. Main( )

Computer Science & Information Technology