Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

To date I have always used a DataAdapter to populate a Combo Box simply by calling the Fill method. As the Combo Box has its DataSource etc set to the DataAdapter it gets refreshed with little effort on my part.

 

I am reading that a DataReader is much quicker and efficient for getting read only data, which is what I am doing.

 

Question is this; do I have to loop through the returned records and add each indiviual record to the Combo Box or is there an automatic way that VB.Net manages?

 

Thnx

My website

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...