473,396 Members | 2,010 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,396 software developers and data experts.

Generating Datasets

Hello,

I am interested in anyone's preference as to creating
datasets in code vs generating them using the UI. I know
typing is an advantage of the latter method. But any other
information would be welcome.

Thanks in advance!
Jack
Jul 21 '05 #1
1 1504
Jack,

I'm guessing that by "generating them using the UI", you're refering to
dragging onto a design surface, such as a form's. If so, there are some
definite disadvantages to this approach. The main issue is one of a lack of
control over the scope and instantiation of the object variables, which
might lead to performance problems in the application.

Another potential problem is the effect on maintainability of your code.
For example, if you create a dataset via the RAD tools, it'll be declared as
a class field. While this might be appropriate in some cases, it makes no
sense in others (e.g.: dataset is only used in a single procedure). This
sort of thing can leave future code maintainers (potentially including you
<g>) scratching their heads for no good reason.

Yet another potential problem is that it rather limits you to the built-in
objects unless you're willing to spend quite a bit of time implementing
appropriate design-time UI functionality in your own custom objects. If you
lock yourself into using the built-in RAD tools, you won't be taking
advantage of some of the benefits OOP offers.

Nicole
"Jack Notarangelo" <in**@systemsynergy.com> wrote in message
news:62****************************@phx.gbl...
Hello,

I am interested in anyone's preference as to creating
datasets in code vs generating them using the UI. I know
typing is an advantage of the latter method. But any other
information would be welcome.

Thanks in advance!
Jack

Jul 21 '05 #2

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

Similar topics

0
by: linda | last post by:
I can use GD::Graph to generate a graph with two-axes by using two datasets and generate a stacked bar chart by using multiple datasets now. However, I want to generate a mixed-type graph which...
10
by: Al Christoph | last post by:
Please forgive me if this is the wrong place to post this. The last place I posted got me a fairly rude response. I guess vb.db people just don't want to think about XML as database. At any rate,...
4
by: Alpha | last post by:
I have a small Window application and through out the different forms I create a different dataset. At the begining I used the Tools to drag and drop the SqlDataAdapter, connection and dataset...
1
by: Jack Notarangelo | last post by:
Hello, I am interested in anyone's preference as to creating datasets in code vs generating them using the UI. I know typing is an advantage of the latter method. But any other information...
9
by: GaryDean | last post by:
We have been noticing that questions on vs.2005/2.0 don't appear to get much in answers so I'm reposting some questions posted by some of the programmers here in our organization that never got...
0
by: astropup | last post by:
at some point in the last few days I've lost the ability to add new datasets to my web page in one specific solution/project. If I start a new solution I can use the server solution explorer to...
4
by: S Chapman | last post by:
Is there any tool that generates Typed DataTables rather than Typed Datasets? The trouble we are having is we have quite a few tables in our database and a single table can be a part of more than...
0
by: guy | last post by:
First:- i do not usually use datasets so this is probably old hat however- i have twoo table - one many relationship and have dragged both onto the dataset designer and generated the getdata method...
12
by: BillE | last post by:
I'm trying to decide if it is better to use typed datasets or business objects, so I would appreciate any thoughts from someone with more experience. When I use a business object to populate a...
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: 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...
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
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
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.