1. which should get created first the datalist or the OleDbConnection or
(?) 2. when a connection is dragged onto a page. what is created and what
needs to be modified?
1. If you add both the datalist and the connection at design time, it
doesn't matter much which one you add first. However, some properties on the
datalist can't be set until you have data components added.
2. First off, I would use Server Explorer (CTRL-ALT-S) to drill down into my
database, and then drag the _tables_ directly to my form. This automatically
creates a connection and a dataAdapter (one for each dragged table), and
then all you need is to add a dataset. To do this, right-click the adapter,
and pick "Generate Dataset".
3. Once you have the dataset, you can set databinding properties on, say, a
datalist. Then, when the form runs (form_load event) you can call the "fill"
method on the adapter, then the "databind" method on your datalist, and you
should see data in the list.
....maybe... :-)
Jeppe Jespersen