473,396 Members | 2,108 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.

ASP.NET Automatic vs. Manual ado.net objects

Hello,

I'm hoping someone here can help me out with this. I'm programming with
asp.net within the VS.NET IDE. I've found two different ways to handle data
access, I can program my own ado.net components, or drag and drop from the
toolbox connections, adapters, datasets, etc. to the design view of the web
form.

I like the drag and drop features, but would like to know more about it, I
kind of just stumbled on it, and never really found a good document
explaining it.

Does anyone out there have experience with this, and could offer any
insight. Any showstoppers someone has run into from using the automatic
stuff versus do-it-yourself. In the long term what will be the best option?

Thanks for any help!
--Michael
Nov 18 '05 #1
1 1172
Michael wrote:
Hello,

I'm hoping someone here can help me out with this. I'm programming with
asp.net within the VS.NET IDE. I've found two different ways to handle data
access, I can program my own ado.net components, or drag and drop from the

Does anyone out there have experience with this, and could offer any
insight. Any showstoppers someone has run into from using the automatic
stuff versus do-it-yourself. In the long term what will be the best option?

Thanks for any help!
--Michael


I find the 'wizard' tools (drag and drop) nice for while you're learning
ADO.NET and how the objects work. But I find the code that is
automatically inserted is not necessarily optimized for performance.
Everything you drag is automatically created in code (constructed) when
the page initializes, even though sometimes you may not use one
component or another for certain postbacks (see the generated
code-behind code). I find instantiating objects yourself is the better
way to do it, it gives you more control over the scope of the objects
and you learn more about how they actually work and what they can do.

Just my opinion....

--
Craig Deelsnyder
Microsoft MVP - ASP.NET
Nov 18 '05 #2

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

Similar topics

4
by: Jason Heyes | last post by:
I want Foo-type objects to be convertible to Bar-type objects. Can I use operator Bar() to do this just as I would use operator bool() to convert to boolean? Example: class Foo { public:...
4
by: Zlatko Matić | last post by:
I have a problem. I should rename some tables which are referenced in numerous stored procedures. Is there any way to automatically replace old table name with new one in all dependant stored...
3
by: apple | last post by:
UDB v8 fp 6a on AIX 5.1.0.0 Below is a manual incremental recover from compressed backup datasets. With external compress backup datasets, can it be coded to do an automatic incremental recover?...
2
by: ladino | last post by:
Hi: I'm testing DB2's new automated maintenance feature and, so far it seems to accomplish what it is instructed to do, but we (DBA's) have no control on when the evaluation cycle is going to...
1
by: Hobbit | last post by:
Hi, I want to test HADR in a windows environment. As default in DB2 there's only a manual takover possible. Are there some scripts available how I can automate this? I've found only some...
58
by: Jorge Peixoto de Morais Neto | last post by:
I was reading the code of FFmpeg and it seems that they use malloc just too much. The problems and dangers of malloc are widely known. Malloc also has some overhead (although I don't know what is...
3
by: myjish18 | last post by:
Hello, We have a DB2 UDB database v8.2.7 (db2 v8.2 fixpak 14) on AIX 5.3 which has Automatic Storage (AS) enabled. We want to disable automatic storage on entire database and/or disable...
25
by: sidd | last post by:
In the following code: int i = 5; ---it goes to .data segment int j; ---it goes to bss segment int main() { int c; int i = 5; ---stack
1
by: =?Utf-8?B?S0ZyaXR6?= | last post by:
Started having problems with popups yesterday. Have the popup blocker set on high. Have Trend Micro but it won't let me do a manual scan. Says it is in use. Also the windows automatic update under...
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
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,...
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...

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.