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
What is executenonquery ado.net?
How do you update a dataset in ado.net?
Define data adapter?
What is ole in vb?
Explain About ado.net components/objects. Usage of data adapters and tell the steps to retrieve data.
What is an ADO.Net?
Define executenonquery?
What is ole db query?
How do I delete a row from a DataTable?
How can we add/remove row's in "datatable" object of "dataset"?
What is Data view?
What is data adapter in ado.net with example?
What are the ado.net connection pooling parameters?
What is the full form of ado.net?
Which is better entity framework or ado.net?