Clear property is available in which control?

Answer Posted / hardik

clear property is available for dropdownlist control.
for e.g. if we want to clear all the contenets of that
dropdownlist then we have to write this code :

dropdownlist.items.clear()

Is This Answer Correct ?    2 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a windows based application?

535


What is the full form of gac?

644


What is form design?

555


Name the property which is used to lock a textbox to enter data?

526


Are windows forms still used?

580






How is anchoring different from docking?

598


What are the components of gui for windows?

517


What is the use of play() playlooping() functions?

624


What is the difference between pixels, points, and em’s when fonts are displayed?

556


Explain how insert record in the database?

616


What is form technology?

526


Explain how to add resources during runtime?

607


What is a database form?

493


What is the difference between the add() and insert() methods of a listbox control?

586


To which namespace does the control class belong?

532