Clear property is available in which control?

Answers were Sorted based on User's Feedback



Clear property is available in which control?..

Answer / ramesh

I don't think a control has a clear property, instead it is
a method
such as combo1.clear
flexgrid1.clear

Is This Answer Correct ?    5 Yes 0 No

Clear property is available in which control?..

Answer / 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

Clear property is available in which control?..

Answer / pompana gouda

Clear is a method and not a property...
The above stated all the controls have the Clear() function
but not the clear property....

Is This Answer Correct ?    1 Yes 1 No

Clear property is available in which control?..

Answer / bikash pattanayak

Clear is not a property its is a method. & This method is
available to many controls fpr e.g
ListBox,TextBox,DropdownlistBox etc..
listbox1.items.clear();
dropdownlistbox1.clear();
textbox1.text.clear();

Is This Answer Correct ?    0 Yes 0 No

Clear property is available in which control?..

Answer / mona

clear property is available in controls

textbox.clear

listBox1.Items.Clear

comboBox1.Items.Clear

Is This Answer Correct ?    0 Yes 3 No

Post New Answer

More Dot Net WindowsForms Interview Questions

For a server control, you need to have same properties like color maxlength, size, and allowed character throughout the application. How do you handle this?

1 Answers   Microsoft,


Name the property which is used to specify the source from where the crystal reports would be accessed.

0 Answers  


Which dialog box allows users to switch to another area of the application?

0 Answers  


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

0 Answers  


Is windows an application software?

0 Answers  






What is an example of form?

0 Answers  


how to call constructor in abstract class

2 Answers  


Which interface is to be implemented to release the unmanaged resources in an object in Dot Net?

1 Answers   Arctern,


How many system controls are available ?

1 Answers  


What are different options to store state in ASP.NET applications?

2 Answers   Arctern,


Which controls can not be placed in MDI ?

2 Answers  


What are the new events in textbox that has been included in VB ?

2 Answers  


Categories