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 is microsoft ado?
How to pass values into a datatable?
Which is the best method to get two values from the database?
What is datatable?
What?s the role of the DataReader class in ADO.NET connections?
Describe briefly an ADO.NET Dataset ?
how to keep track of index in listbox items.
i making a project using windows application c#, i want to show user name, password, and one button login. i wanna make it with sealed class .how its possible . when i clicked my login button all project should be open. pls cleare me.
What provider ADO.net use by default ?
5 Answers Accenture, BirlaSoft, Wipro,
Define Execute Reader?
What is method to get XML and schema from Dataset? getXML() and get Schema ()
What is shadow copy?