Re: ADO.net ~ Generate typed dataset in code? - simple question - help
From: Val Mazur (group51a_at_hotmail.com)
Date: 07/21/04
- Next message: Val Mazur: "Re: Hierarchical Recordset - Would this alternative work??"
- Previous message: Val Mazur: "Re: Determining version of MDB file"
- In reply to: Matthew: "ADO.net ~ Generate typed dataset in code? - simple question - help"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 21 Jul 2004 19:32:05 -0400
Hi,
My personal opinion is that using any automated tools do not give you big
advantage, because usually developers do not know what is going on inside of
those tools. If you decided to start programming again, then I would suggest
to write code manually. support.microsoft.com is a good link with the
examples and you could find some code there. If you have more specific
question, then you could post it here
-- Val Mazur Microsoft MVP "Matthew" <mososky@hotmail.com> wrote in message news:dc0ab83a.0407201528.5e09796e@posting.google.com... > I'm coming back into a little database programming via ADO.net And I'm > having a hard time swallowing some of this stuff. My basic problem is > this, although it seems easy enough to use the data wizards to plop > down form bound data componets, there seems to be a heluva-lot of > overhead in designing the data at run-time in code- like a module. I > just like to do it this away, because i believe it's more reliable and > portable, yada, yada, yada. > > Anyway, building the connection and queries seems easy but when i get > to the data adapter / dataset it seems far more difficult than when i > did it back in VB6 (not that i really remember that, it's been awhile, > but it surely was not this compicated) I can't figure out how, or if > its possible to create a typed-dataset at runtime so i'm stuck with an > untyped. Which is making me manualy define the dataset's schema, > adding the tables and colunms. This is a real pain in the ass. I > remember it being pretty easy in vb6, i could build a data connection > and do all the data return and navigation with probably less than > 20-25 lines of code. > > Am I being stupid about something? What's the easiest way for me to > plop down some code that just will allow me to read/update an access > database and do all the configuration in runtime? > > -thx! > matthew
- Next message: Val Mazur: "Re: Hierarchical Recordset - Would this alternative work??"
- Previous message: Val Mazur: "Re: Determining version of MDB file"
- In reply to: Matthew: "ADO.net ~ Generate typed dataset in code? - simple question - help"
- Messages sorted by: [ date ] [ thread ]