473,386 Members | 1,823 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Auto generate datasets from DB

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
3 2141
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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: VJ | last post by:
I have a dataset with a AutoIncrement column.. I write this to a XML file and read it back..to a Dataset.. The auto increment works perfectly every time. It picks up were it left...were does it...
1
by: popsovy | last post by:
I am new to the discussion groups and to the .NET world, so this is probably a very basic question.. Is there any quick way in .NET to auto-generate data forms from typed datasets or SQL queries?...
6
by: | last post by:
Hi, can someone provide some advise on how to get around with using auto generated proxies? basically I already have the proxy classes, and they are used by other places. I'd like use these...
4
by: newtonwong | last post by:
I have a web reference WSDL, but it doesn't really create an XSD. I'm trying to generate datasets from the WSDL file but not sure how to do so. I successfully created the proxy class, but the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.