how to keep track of index in listbox items.
Answers were Sorted based on User's Feedback
Answer / prasad
please send me the answer.
this is used in sendig items from one list box to another
listbox with a single click.
if the items r more.
Is This Answer Correct ? | 3 Yes | 1 No |
Answer / 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 |
Command objects uses, purposes and their methods.
What is full form of ado?
WHAT IS DIFF B/W VIEWS AND STORED PROCEDURE
What is ole used for?
What is ado recordset?
Diff. b/w DataReader and DataSet?
What is dataset and datatable in ado.net?
Describe briefly an ADO.NET Dataset ?
What are the three Ado objects?
6 Answers Microsoft, StarSoft,
How to connect and retrieve data from database using dataset
List the 4 common ado.net namespaces?
How many commands does the oledbcommand takes?what are they?