Dave,
In my opinion have all your questions to do with your learning curve.
For using data in VBNet you need at least a
Connection which has a connection string
Commands
DataAdapters (in the which can automaticly be used a Commands)
Those are for different databases. When you cannot get a specialized on as
SQLClient you can use almost forever OleDb however that has some extra
overheiad and therefore they are slower than the specialized ones. (When
that was not the case the specialized where of course never used).
Databinding makes life much easier when you know how to do, however at the
start you become completly confused. By instance; you will be not the first
one who thinks that currency has to do with money and not with the current
state of a datatable.
So start with a simple application, and when it than becomes with a lot of
textboxes or other controls, start looking to databinding.
For some controls, you can use only (when you want to use them complete)
databinding, you recognise them because they have a "datasource".
I hope this helps?
Cor
"Dave McKie" <da*********@yahoo.com>
Hi all,
I'm somewhat new the DotNet platform....I've used VB6 as well as VBA.
I have a couple of basic questions:
What are the majority of programmers using?
Data components such as DataAdapters or connection string?
SqlDataAdapters or OleDbDataAdapters?
Is binding data to forms the norm or using code to create, edit,
delete data?
what are advantages?
I've tried a little of each of these methods and am not sure what
direction to take.
Thanks
Dave McKie
10/04/2004