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

What is the extension of a compiled help project file?

0 Answers  


How is anchoring different from docking?

0 Answers  


how to create a set up in vb.net for desktop application please say me steps with examples

1 Answers  


What is a windows based application?

0 Answers  


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

2 Answers   Arctern,






what is the control used to call a windows application?

1 Answers  


How insert recored in the database

1 Answers   Wipro,


Are windows forms still used?

0 Answers  


Clear property is available in which control?

5 Answers  


What are the different types of indexes in SQL Server?

3 Answers   Arctern,


Name the template that is used to create a user-defined component.

0 Answers  


which property is used to change to some value to access a identity column in datacontrols?

0 Answers  


Categories