Creating a .NET 1.1 DataSet in Visual Studio 2008

  • Thread starter Thread starter Adrian Miller
  • Start date Start date
A

Adrian Miller

Hi,

I'm running a .NET 1.1 application and I'd like to use a .NET 2.0 Web
service which uses .NET 2.0 Datasets.

I would like to write a proxy class that talks to the Web service on one
side and on the other to the .NET 1.1 app. Is it possible to create .NET 1.1
Datasets in the .NET 2.0 environment?

If so, how? Are .NET 1.1 and 2.0 interopable in this way?

Thanks for any advice
Adrian
 
I am not sure the DataSet changed that much, with the exception of adding
the Table Adapters, which you can eliminate (or avoid if you build the
DataSet by hand rather than drag and drop). If you have tried and cannot
serialize, consider making objects instead, as you can create a 1.1 library
with same name objects as the service.

As there is a service boundary here, you have complete control on what you
want to send via soap. You might have to stop relying on the drag and drop
stuff and write a bit of code, but that should not be that big of a deal.

--
Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA

*************************************************
| Think outside the box!
|
*************************************************
 
Adrian,

Beside the by Gregory named TableAdapter, I never saw any problem.

A dataset is a class, while I asume that you are even talking about a XML
dataset, which has AFAIK no table adapters.

Cor
 
Very true, the XML DataSet (the portion that is really the DataSet) has no
TableAdapters. The TableAdapters are added by the drag and dropping of bits
on a DataSet surface in Visual Studio. And, the DataSet format has not,
AFAIK, changed since 1.0. It would be rather unwise to change it.

--
Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA

*************************************************
| Think outside the box!
|
*************************************************
Cor Ligthert said:
Adrian,

Beside the by Gregory named TableAdapter, I never saw any problem.

A dataset is a class, while I asume that you are even talking about a XML
dataset, which has AFAIK no table adapters.

Cor
 
Back
Top