ADO.net ~ Generate typed dataset in code? - simple question - help
From: Matthew (mososky_at_hotmail.com)
Date: 07/20/04
- Next message: Robert Eliasson: "Re: Refresh Cache"
- Previous message: mcginty: "Re: Store File in SQLServer via ADO"
- Next in thread: Val Mazur: "Re: ADO.net ~ Generate typed dataset in code? - simple question - help"
- Reply: Val Mazur: "Re: ADO.net ~ Generate typed dataset in code? - simple question - help"
- Messages sorted by: [ date ] [ thread ]
Date: 20 Jul 2004 16:28:52 -0700
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: Robert Eliasson: "Re: Refresh Cache"
- Previous message: mcginty: "Re: Store File in SQLServer via ADO"
- Next in thread: Val Mazur: "Re: ADO.net ~ Generate typed dataset in code? - simple question - help"
- Reply: Val Mazur: "Re: ADO.net ~ Generate typed dataset in code? - simple question - help"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|
|