Creating a .NET 1.1 DataSet in Visual Studio 2008

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
 
C

Cowboy \(Gregory A. Beamer\)

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!
|
*************************************************
 
C

Cor Ligthert[MVP]

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
 
C

Cowboy \(Gregory A. Beamer\)

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top