|
-
Oct 10th, 2017, 10:53 AM
#1
Thread Starter
Lively Member
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.
-
Oct 10th, 2017, 11:15 AM
#2
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
Please remember next time...elections matter!
-
Oct 10th, 2017, 01:15 PM
#3
Re: Differances in connection types
As Trump would say that is a "YUGE" topic.
lmao,
-
Oct 10th, 2017, 05:55 PM
#4
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.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|