hog Posted October 14, 2003 Posted October 14, 2003 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 Quote My website
Moderators Robby Posted October 14, 2003 Moderators Posted October 14, 2003 You can bind to a dataset, datatable or dataview. Quote Visit...Bassic Software
hog Posted October 15, 2003 Author Posted October 15, 2003 OK so coding to loop through the data reader to populate the combo box is the way to go:) Thnx Quote My website
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.