473,546 Members | 2,249 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Converting ASP.NET from VB2003 2 VB2005 - Loosing DataSets

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 necessary to rely on DataSources pointing
to DataSets. Does it make sense?

However, that's my problem:
As described above, I've created ObjectDataSourc e linked to DataSets,
using Clone method to retrive data from dataSets, and GetChanges
methods to pass data back to dataSets for Update, Delete and Insert (a
sort of forced 3-tier approach, where BLL are DataSets). Am I correct?
Is there a better way not forcing me to rewrite all code?
Till now, I've filled dataSets from dataAdapters, operated in
DataTables (containd in DataSets) and then Updated/Deleted/Inserted
from DataTables, and so I wish to continue, for compatibility reasons.

Jun 15 '07 #1
0 1209

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

Similar topics

3
22441
by: Jonny Au | last post by:
Hi everyone, I have a problem about email message format converting. I want to write a program in VB.NET to convert the EML format email message to MSG format, does anyone knows how to do it? If you know it you can send me a message to ckjonny5@hotmail.com Thanks at all. Jonny
5
1174
by: John | last post by:
Hi How difficult is it to upgrade a vb2003 database app to vb2005? Thanks Regards
4
1077
by: NickP | last post by:
Hi there, I have converted quite a large project from VS.NET 2003 to 2005 (VB.NET) and one difference I have noticed is that it doesnt automatically put the automatically generated designer code into a seperate part file. Is there a quick way that I can scan the project and make these changes? Will VS.NET automatically then use the...
4
1401
by: John Dann | last post by:
Couple of questions about upgrading an existing installation of VB2003 (Pro) to 2005 (Pro): 1. Not having dabbled in VB2005 yet, I'd feel more comfortable also keeping a working VB2003 environment available to me for program maintenance etc. Is there likely to be any problem in doing this? And, as an addendum to this question and...
5
1449
by: SStory | last post by:
What do most of the group think about 2005 in comparison to 2003? Slower? How painful is it to upgrade decent sized 2003 apps to 2005? Are there more gotchas? Past experience has shown me that being an early adopter of MS stuff can be hazardous to your sanity, so I have held off.
3
2934
by: =?Utf-8?B?UmljaA==?= | last post by:
Hello, I selected BorderStyle = Fixed3D for a textbox on a form in VB2005, but the textbox looks flat. In VB2003 the textbox has the same borderStyle = Fixed3D and has a 3D appearance. Is it possible to get the same 3D appearance for a textbox in VB2005? How to do this? All of my textboxes are flat looking. Thanks, Rich
5
1333
by: Don | last post by:
Can anyone recommend a good book for learning to use VB2003? I'm interested in something like Rocky Lhotka's "Business Object" books. I know he wrote one for VB2005 but I'd like a VB2003 specific book if a good one exists. Thank you, Don Bothell, WA
0
1059
by: S.Tedeschi | last post by:
Hi all, as already posted, I'm converting an app and I'm facing tons of cons. One of them is my .aspx files can be used by ComponentDesigner to load, e.g., SelectCommands' CommandText, but when I try to run the WebSite, the 1st time is needed a resource, an exception is thrown , stating "Could not find any resources appropriate for the...
6
3450
by: Dave Marden | last post by:
I currently use this routine in vbscript to ping computers and get the status of ping to determine whether to try to backup a machine, I am trying to change it to work with vb2003.net I am wondering if anyone has a ping function they could share with me. I have done some searching on this but cannot find anything specifically for vb2003. ...
0
7504
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, 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...
0
7694
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, 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. ...
1
7461
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...
0
7792
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 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...
0
6026
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5360
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5080
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
1
1921
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
0
747
bsmnconsultancy
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...

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.