Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


how to keep track of index in listbox items.

Answers were Sorted based on User's Feedback



how to keep track of index in listbox items...

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

how to keep track of index in listbox items...

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

Post New Answer

More ADO.NET Interview Questions

differences between ADO and ADO.NET

0 Answers   Microsoft,


What are all the classes that are available in System.Data Namespace?

0 Answers  


What are the steps in connecting to database?

3 Answers   IBM, Microsoft,


Explain what are the steps to connect to a database?

0 Answers  


What are disadvantages of microsoft-provided data provider classes in ado.net?

0 Answers  


What is the DataTableCollection?

0 Answers  


Difference between OLEDB Provider and SqlClient ?

2 Answers  


What is Data view?

0 Answers  


What providers do you use to connect to oracle database ?

4 Answers   Digital GlobalSoft,


Explain the difference in an abstract class and an interface?

0 Answers  


Difference between DataReader and DataAdapter / DataSet and DataAdapter?

3 Answers   TCS,


How will you differentiate between ADO (ActiveX Data Object) and RDO (Remote Data Objects)?

0 Answers   CGI,


Categories