Hi all gurus.
I'm trying to switch to VS 2005, from VS 2003. I've an ASP.NET 1.1 app
heavily relying on StronglyTyped DataSets, with lots of FindByKey...,
dataSet.Tablena me, and similar methods. Converting to ASP.NET 2.0
leaves dataSets' classes unconverted, as stated by M$; what's worse,
I'm not able to use converted dataSets, nor new ones, but just non-
typed dataSets declared directly in pages (or code-behind), and so I'm
not allowed to use a lot of methods and tables tied to dataSets. As a
cherry on the pie, DataSets are greyed in all-view Tools (and not
visible without all-view).
Is it a standard behaviour or there's something messed up in my VS
2005?
AFAIK, M$ declares that previous data objects are still at the basis
of the new data model, and in my situation? 2 1370
On 7 Giu, 09:34, "S.Tedeschi " <t...@tesis.org wrote:
Hi all gurus.
I'm trying to switch to VS 2005, from VS 2003. I've an ASP.NET 1.1 app
heavily relying on StronglyTyped DataSets, with lots of FindByKey...,da taSet.Tablename , and similar methods. Converting to ASP.NET 2.0
leaves dataSets' classes unconverted, as stated by M$; what's worse,
I'm not able to use converted dataSets, nor new ones, but just non-
typed dataSets declared directly in pages (or code-behind), and so I'm
not allowed to use a lot of methods and tables tied to dataSets. As a
cherry on the pie, DataSets are greyed in all-view Tools (and not
visible without all-view).
Is it a standard behaviour or there's something messed up in my VS
2005?
AFAIK, M$ declares that previous data objects are still at the basis
of the new data model, and in my situation?
A little sharpening: actually, a can drop a dataSet into "Component
Designer", but I can't find any DataSet class. I guess VS2005 is no
more able to auto-generate classes from a DataSet, a normal operation
for VS2003.
Is still DataSet model a good way for ops or should I swith to
TableAdapers-only environment?
Ysgrifennodd S.Tedeschi:
Hi all gurus.
I'm trying to switch to VS 2005, from VS 2003. I've an ASP.NET 1.1 app
heavily relying on StronglyTyped DataSets, with lots of FindByKey...,
dataSet.Tablena me, and similar methods. Converting to ASP.NET 2.0
leaves dataSets' classes unconverted, as stated by M$; what's worse,
I'm not able to use converted dataSets, nor new ones, but just non-
typed dataSets declared directly in pages (or code-behind), and so I'm
not allowed to use a lot of methods and tables tied to dataSets. As a
cherry on the pie, DataSets are greyed in all-view Tools (and not
visible without all-view).
Is it a standard behaviour or there's something messed up in my VS
2005?
AFAIK, M$ declares that previous data objects are still at the basis
of the new data model, and in my situation?
Strongly typed DataSets are much changed - and, in my opinion, much
improved - in .NET 2.0. I've never tried to convert, so it may be that
you have to do so by hand. If you do, it might be a nuisance, but it
shouldn't take long and will, at least, get you up to speed on .NET 2.0
DataSets.
If it would help, I have some documentation I did for our developers at
work along with a sample application, which I'd be happy to let you
have. Just contact me off-list at
p[dot]bradley[at]dsl[dot]pipex[dot]com, and I'll send it to you.
Cheers
Peter This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
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 objects to the frist few
forms but then later I removed those and created these objects in my code.
I now see 3 datasets in the Solution Explorer panel part but not all the
datasets that I have in my codes. Are these 3 datasets leftover from the...
|
by: Kartic |
last post by:
When I do this using UnStrongly Type, Everything works fine. I get the
Identity value
Private Sub formUnit_Load(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Load
AddHandler daUnitLocations.RowUpdated, AddressOf HandleRowUpdated
Dim dt As DataTable = New DataTable
daUnitLocations.Fill(dt)
|
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 answered...
There are articles on the new TableAdapters where it says that a key new
advantage is that a single TableAdapter, which can have multiple queries,
can be used on multiple forms. Now that was in an article on using
TableAdapters with...
|
by: Luqman |
last post by:
Is it recommended to use datasets in ASP.Net 2.0 / VS.Net 2005 ?
Best Regards,
Luqman
|
by: Ronald S. Cook |
last post by:
I've always used untyped datasets. In a Microsoft course, it walks through
creating typed datasets and harps on the benefits. It has you drag all
these things around ..wizard, wizard, wizard... code gen, code gen, code
gen.
What's at the end looks slick, but then there's a ton of generated code that
I'm going to have to maintain now.
I.e. I like typing things myself (don't like wizards) so I can know exactly
what I've done.
| |
by: S.Tedeschi |
last post by:
Hi all;
as posted some days ago, I'm converting an on-line app; I used to
heavily rely on strongly-typed DataSets directly dropped onto pages,
and so viewed by code(-behind) as well. In the next two weeks I
discovered that such objects are no more directly usable in pages,
namely in DataGrid which don't see them any more. Even if rebuilt in
Component Designer, and so visible in code, DataSets are invisible in
Page Designer, so now it's...
|
by: Max2006 |
last post by:
Hi,
I am truing to find a pattern for my Business Logic Layer to be able to work
fine win ObjectDataSource's Update method.
The challenge is ObjectDataSource is not able to work with an update method
that accepts a strongly typed data table as parameters. We have to have an
update method with all data table's columns as its parameter. Like what we
have here: http://asp.net/learn/data-access/tutorial-16-cs.aspx
|
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 gridview, for example, I loop
through a datareader, populating an array list with instances of a custom
class in the middle tier, and then send the array list up to the
presentation layer and bind the gridview to it.
If I use a typed dataset, I...
|
by: gardnern |
last post by:
We have X number of data sets, of Y length each.
For example...
Small, Medium, Large
and
Red, Green, Blue, Yellow
We need to generate a list of all possibilities
Small Red
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |