Differances in connection types
I am new to VB.net. I have recently taken a class on VB.Net forms. In this course they discussed three different binding methods, Binding to a Dataset, LINQ, Datasource. Other than code I am not sure what the difference between them. Why would one de better than any other. Or are there instances where one is better than another.
Re: Differances in connection types
As Trump would say that is a "YUGE" topic. One being better than another is partly perspective. Here is a good link to start learning.
https://www.codeproject.com/Articles...-windows-forms
Re: Differances in connection types
Quote:
As Trump would say that is a "YUGE" topic.
lmao, :D
Re: Differances in connection types
Are you talking about a Web Forms application, because a data source in that context is a specific type of control, whereas in another context it simply means a list of data that is the source for a UI element? If you're not talking about that then they aren't three different types of binding; they're all the same. In Windows Forms, you bind a control to a list of some sort. How you create that list is irrelevant to the binding. All that matters is that it implements the IList or IListSource interface. In that scenario, a DataSet IS a data source, as is a list of objects produced by a LINQ query.