New answers tagged


Assuming you are using .NET, mentioning C#, I would look into data binding features first. Most UI toolkit Microsoft has made offer some form of data binding either to objects, object lists or ADO.NET datasets. Mixing your data retrieval with your UI controls is never a good idea, I would try and keep this external to your user interface.

Top 50 recent answers are included