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 |
What are the uses of Stored Procedure?
Can I use One Data Set for More than one Data Adapter?
On ODP.net ?
What?s the role of the DataReader class in ADO.NET connections?
How to pass values into a datatable?
Define the executescalar method?
How to add an aggregate column?
Which is better ole db or odbc?
What are the Features and disadvantages of dataset
Which object holds only data and does not interact with data source?
What is Serialization in .NET? what are the types of Serialization?
How to create data relations?