> Right, the DataSet is the whole DataBase, everything you need, tables and
> all, just that its in memory.
I have a couple of issues with that.
Issue #1 is that I could load the whole database into memory, but that would
have huge overheads, would it not? Also, if I can't do that - then I need to
create a whole load of datasets to describe the data and relationship
(customer and customer_type, order and order_type for example), so I have
loads of datasets knocking around.
> If you add drop down items on columns, Ive heard its tricky to make it
> work
> or may not be intuitive
Should be intuitive enough. My dropdown will say, "open" or "closed". I
reckon I should be able to work out how to make a dataset using a
TableAdapter to fill the information set, but I'm not sure about how this
will insert new records - it all doesn't make much sense to me and I can't
find a clear example anywhere. My datagrid isn't going to want to show ALL
the columns of ALL of the tables in the dataset, since that would be messy.
Also when I add a new row I will need to populate all the columns of all the
tables in the dataset so that the data isn't messy with nulls everywhere.
> A typed dataset allows you to reference tables and fields directly, by
> name,
[quoted text clipped - 10 lines]
>
> But now youre defining your tables in Access? If you used the Wizard to
Nope, SQL Server Express (2005)
> make the database viewer, it should import all tables you select? Im
> still
I'm only importing a small subset of tables each time, yes - just about got
the hang of it.
> learning this also, it seems like database theory is just a very old
> concept
> thats been implemented so many ways we have legacy framework things to
> deal
> with, if it were all new? it wouldnt be this way, Im betcha.
> Im thinking about trying to learn OLD database concepts in order to make
> better sense of it all.
No problem in ADODc - use a recordset and loop through it. The advantage as
I see things is not having to use an @@IDENTITY function and repeated
insert/update statements to update a series of related tables. I'm assuming
the dataset will handle that for me. I hope.
Mike