473,399 Members | 4,254 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,399 software developers and data experts.

Formless Data Wizard?

Greetings!

I want to automatically generate a typed dataset and its associated command
objects from an Access Database. I can use the Server Explorer and drag the
tables onto a form and use the Data Wizard from there.

My problem is that there is no reason for the form to know about the
database or the objects that will represent my data. The class that
represents the object the database is storing information for is the logical
place for the objects that will represent the data. Therefore, I would like
to automatically generate the dataset and everything else as members of my
class, not as members of my form. Of course, I can cut the automatically
generated code from the form file and paste it inot my class file, but that
is overly cumbersome and it violates the spirit of object-oriented
development.

Is there an add-in or some similar tool that can build a dataset and related
objects anywhere in code, not just inside a form? If not, I think I have a
goal for my first .Net add-in.

By the way, a possibly related question: Is there anyplace better than the
..Net help files where I can find documentation for the CodeDOM namespace? I
looked at the ListGenerator sample. I don't understand what the CodeDOM
constructs give me that I wouldn't get just be directly writing the code.

Thank you very much!

Rob
Nov 20 '05 #1
1 815
Cor
Hi Rob,

Try to open a new XSD file (dataset) from the items in your solution
explorer and look what that can do for you.

To generate a dataset class you just have to click the right button and
choose for that to do.

You can do it also in code of course, it is not that difficult.

I hope this helps.

Cor
Nov 20 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: maamir | last post by:
I have created a windows application in C#,It has a window's form but nothing to show on that form , now i need to make my that applicaion formless so that it can run in the background. Waiting for...
5
by: Rick | last post by:
The data adapter wizard allows you to add more than one table, but that doesn't seem to work right when setting up a dataset. Some of the documentation I have read states that only one table...
0
by: Steven Blair | last post by:
Hi, A bit long winded this one, but would be grateful for some help. I have a problem using the Wizard component and can think of only two ways of completing the task. Can anyone with some...
6
by: Bob | last post by:
I've located instruction as to how to add the Data Form Wizard into a VB.NET 2005 project at this location. ...
1
by: Demetri | last post by:
I have a question / concern regarding the new suggested way of creating a data access layer in an n-tier application. Typically, a web application specifically, using the SOA (Service Oriented...
3
by: ebrastow | last post by:
Hi folks, I'm a VB newbie - been using PowerBuilder for 12 years and thought I'd see how Visual Basic has come along these days. I'm using MS Visual Studio 2005 Professional, trying to connect...
1
by: cypher_key | last post by:
I want to write a simple application for my own use. I've already have the data populated in a database and I have a data source setup. I can use the wizards to generate a master detail data form...
1
by: rejoyce | last post by:
Hi Everyone, I just started to create new windows application in Visual Basic 2005, so i use the Data Source Configuration Wizard to add new data source connection. I choose the Microsoft Access...
11
by: amin85 | last post by:
Hello, How can I write a formless application to view images? Thanks
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
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.