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 DataReader class do in ADO.NET ?
What is the role of clr?
What are the important features of ado.net 2.0?
What are the advantages of using datalist?
What is a data control clerk?
What is a control toolbox?
How can I retrieve two tables of data at a time by using data reader?
How can we load multiple tables in to dataset?
What is aggregating data ?
What are the ado.net objects?
What is ado.net in vb net?
What is the default provider in ado.net?
What is the difference between executequery and executenonquery?
How to retrieve the user id which is provided while windows authentication?
What is a dynaset in access?