Answer Posted / ravikv
The following code retrieves the all the items of a list
box in to another list box in a single button click :
public void button1_click()
{
for(int i = 0; i < listbox1.items.count;i++)
{
listbox2.items.Add(listbox1.items[i].Text.Tostring());
}
}
| Is This Answer Correct ? | 3 Yes | 2 No |
Post New Answer View All Answers
Which namespaces are used for data access?
What is a string variable?
Explain the namespaces in which .net has the data functionality class.
What is a column variable?
How to create dynamic gridview?
Which is better entity framework or ado.net?
What is ado.net explain with diagram?
What are the ado.net components?
What is ole data type?
What is ado.net components?
How to pass values into a datatable?
What does ado stand for?
How to create data relations?
What are basic methods of dataadapter?
How will you differentiate between ADO (ActiveX Data Object) and RDO (Remote Data Objects)?