By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,353 Members | 1,555 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,353 IT Pros & Developers. It's quick & easy.

Auto generate datasets from DB

P: n/a
SPG
Hi,

I am new to C#, and was wondering if there is an easy way to auto generate a
Dataset and the relevant classes (IE: Adapter for updating etc) by pointing
a wizard at the db?

I am sure there must be a way to do this..

Steve
Nov 16 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
put a new dataadapter and use the query builder wizard to create the
query, then right-clicj on the adapter and select "generate dataset"

SPG wrote:
Hi,

I am new to C#, and was wondering if there is an easy way to auto generate a
Dataset and the relevant classes (IE: Adapter for updating etc) by pointing
a wizard at the db?

I am sure there must be a way to do this..

Steve

Nov 16 '05 #2

P: n/a
SPG
Thanks for that!
Saved me hours of work!

Mucho Grateful!

"Uri Dor" <re***************@mivzak.com> wrote in message
news:eX**************@TK2MSFTNGP09.phx.gbl...
put a new dataadapter and use the query builder wizard to create the
query, then right-clicj on the adapter and select "generate dataset"

SPG wrote:
Hi,

I am new to C#, and was wondering if there is an easy way to auto generate a Dataset and the relevant classes (IE: Adapter for updating etc) by pointing a wizard at the db?

I am sure there must be a way to do this..

Steve

Nov 16 '05 #3

P: n/a
Hi,

As an another approach, check my website www.rthand.com, go to .NET
corner/Utilities.
There are two templates that creates save adapter (insert, update, delete
command) and a strong typed dataset with relations included.
Both templates are to be used with (free excelent utility) CodeSmith
template based code generator - you'll find more info on my website.

--
Miha Markic [MVP C#] - RightHand .NET consulting & software development
miha at rthand com
www.rthand.com

"SPG" <st************@nopoo.blueyonder.co.uk> wrote in message
news:pO*********************@news-text.cableinet.net...
Hi,

I am new to C#, and was wondering if there is an easy way to auto generate a Dataset and the relevant classes (IE: Adapter for updating etc) by pointing a wizard at the db?

I am sure there must be a way to do this..

Steve

Nov 16 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.