473,395 Members | 1,629 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,395 software developers and data experts.

Data Sources for ASP.Net

I just read an interesting article on Data Sources in Visual Studio 2005:
http://msdn.microsoft.com/vbasic/def...wdtastvs05.asp

It was an eye opener on the new way of filling data into datasets!
The article says it is the same idea for WebForms as for WinForms.
But when I try to apply the same idea on a new Web project I get a bit
confused. My impression is that there are several differences, making it
harder to apply in WebForms ....

For a start I didn't find the Data Sources menu/window so I created a typed
dataset myself and configured it with relevant Fill and GetData methods.

In the WinForms example the idea was to drag resources from the Data Sources
window into the form and then all necessary objects were created on the fly.
Is it possible to handle it in a similar way in WebForms or should I go back
to the old style and do all coding manually?
Jan 6 '06 #1
4 1719
"old style"?

My personal opinion is that the design time tools and wizards are good for
learning and starting to code in .NET in the beginning. But they are not
good or practical for writing applications or application architectures.
There is also this code that gets generated that you don't see so it all
looks like magic. A good programmer is going to write much cleaner, much
more efficient, and much more reusable code.

"Jakob Lithner" <ja******@newsgroup.nospam> wrote in message
news:78**********************************@microsof t.com...
I just read an interesting article on Data Sources in Visual Studio 2005:
http://msdn.microsoft.com/vbasic/def...wdtastvs05.asp

It was an eye opener on the new way of filling data into datasets!
The article says it is the same idea for WebForms as for WinForms.
But when I try to apply the same idea on a new Web project I get a bit
confused. My impression is that there are several differences, making it
harder to apply in WebForms ....

For a start I didn't find the Data Sources menu/window so I created a
typed
dataset myself and configured it with relevant Fill and GetData methods.

In the WinForms example the idea was to drag resources from the Data
Sources
window into the form and then all necessary objects were created on the
fly.
Is it possible to handle it in a similar way in WebForms or should I go
back
to the old style and do all coding manually?

Jan 6 '06 #2
I guess you are right.
Most "modern inventions" are just not robust enough for real business.

But still it looked nice to use in those cases where you just want a quick
and working application for personal use ....
Jan 6 '06 #3

You need to distinquish between

"Rapid Development" vs. "Good Development"

The new 2005 tools have put in alot (and I mean alot) of rapid
development tools.

There has also been a huge effort to make it more VB6 friendly, to make
the transition for VB6 developers over to .Net.
I would strongly suggest
http://froogle.google.com/froogle?hl...ch&sa=N&tab=wf
ASP.NET 2.0 Advanced Application Design

and
http://froogle.google.com/froogle?q=...&lmode=unknown
Effective C#: 50 Specific Ways to Improve Your C# ...
as resources.

The first one especially gives some info about how to distinquish
between Rapid vs Serious software development.

Its all about what you want to be. If speed is the only priority, then
use those wizards.

If things like good tiered development mean something, then you should
perhaps avoid the wizards.

...
Jakob Lithner wrote:
I just read an interesting article on Data Sources in Visual Studio 2005:
http://msdn.microsoft.com/vbasic/def...wdtastvs05.asp

It was an eye opener on the new way of filling data into datasets!
The article says it is the same idea for WebForms as for WinForms.
But when I try to apply the same idea on a new Web project I get a bit
confused. My impression is that there are several differences, making it
harder to apply in WebForms ....

For a start I didn't find the Data Sources menu/window so I created a typed
dataset myself and configured it with relevant Fill and GetData methods.

In the WinForms example the idea was to drag resources from the Data Sources
window into the form and then all necessary objects were created on the fly.
Is it possible to handle it in a similar way in WebForms or should I go back
to the old style and do all coding manually?


Jan 7 '06 #4
Thanks, I definitely consider buying the first one!
Jan 7 '06 #5

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

Similar topics

1
by: Dinesh | last post by:
Hi, my existing web application(vb,asp) takes data from diff sources and populates a sql server which is in turn used as the data source for the application. this population of data happens by...
9
by: Tony Lee | last post by:
Some time a ago, on this newsgroup the following comments were made in recommending good references for Access (2003) >I used to recommend Dr. Rick Dobson's, "Programming Access <version>" for...
13
by: Leszek Taratuta | last post by:
Hello, I have several drop-down lists on my ASP.NET page. I need to keep data sources of these lists in Session State. What would be the most effective method to serialize this kind of data...
0
by: Mafuba | last post by:
I'm trying to use data sources with data bound controls on one of my pages that's using a master page. The master page has 2 ContentPlaceHolders, and in my page the data sources are in the first...
5
by: rogsonl | last post by:
My computer was moved last week, and the company changed the network groups we work on. As a result, one of the main benefits from Whidbey (database connectivity) no longer works. Situation: 1....
1
by: dbuchanan | last post by:
Hello, A section in Data Sources window is mystifying to me. In the case of my code the Data Sources window shows my references to the data access layer. First here is what I see in my Data...
0
by: GS | last post by:
Documentation states that there supposed to be a "Data Sources" windows in VS 2005. See below. I can not find Data menu in VS 2005 anywhere. Anybody sees that menu? Opening the Data Sources Window...
10
by: David Lee Conley | last post by:
When I open the Data Sources window and create a new data source, everything works fine. But if I have a form showing in the IDE, the Data Sources window becomes disabled and doesn't display any...
0
by: BillE | last post by:
I am using Visual Studio 2005 to create a web site which includes reports. The web site has several sub-folders. When working with reports I can't get the website data sources (classes and...
3
by: =?Utf-8?B?V2FsaWQ=?= | last post by:
Hello: I have migrated a site from IIS5 to IIS6. The site is configured and the we app is installed on the new IIS site. I can get to the web page but when I try to login, this is what I get...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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?
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
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
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...

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.