Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / Extensibility / May 2006

Tip: Looking for answers? Try searching our database.

Typed dataset generation

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Tim Greenwood - 08 May 2006 17:37 GMT
Is there some way to tap into the methods used by vstudio to generate
strongly typed datasets?  Whatever the DataAdapter designer uses when you
right click an adapter and select "Generate Dataset"......

We're doing some generation tailored to our own uses but really don't want
to re-invent the wheel here.  The datasets as generated for the adapters are
great and we'd like to keep using them.
Tim Greenwood - 08 May 2006 23:05 GMT
OK, I've dug into VS BOL and found this:

System.Data.Design.TypedDataSetGenerator.Generate

The synopsis says it returns a string - the strongly typed dataset (I'm
*a.s*uming the csharp code since I provided a CSharpCodeProvider parm).  I
guess I'm missing something here cause all I get is a string with
"NewDataSet" in it.  Anybody know what I'm doing wrong here???

> Is there some way to tap into the methods used by vstudio to generate
> strongly typed datasets?  Whatever the DataAdapter designer uses when you
[quoted text clipped - 3 lines]
> to re-invent the wheel here.  The datasets as generated for the adapters
> are great and we'd like to keep using them.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.