Re: Strongly typed dataset and remoting
- From: "Beth Massi [Architect MVP]" <bmassi@xxxxxxxxxxx>
- Date: Mon, 11 Jul 2005 08:05:52 -0700
Either way will work.
You can serialize strongly typed datasets via remoting as long as both the
client and the server have the type information available. You can put your
typed dataset into a shared assembly (dll) that you copy to both the server
and the client.
You can also send un-typed datasets to the server from a typed dataset on
the client.
Dim ds as New DataSet(MyTypedDataSet.DatasetName)
ds.EnforceConstraints = MyTypedDataSet.EnforceConstraints
ds.Merge(MyTypedDataset.GetChanges(), False)
'-- ds is an untyped dataset containing the changes (diffgram)
HTH,
-B
"Sakke" <sakke@xxxxxxxxxxxxxxxx> wrote in message
news:unv%23hXghFHA.3912@xxxxxxxxxxxxxxxxxxxxxxx
> Hi,
> I have problem with strongly typed dataset and remoting.
>
> I have strongly typed dataset in client and I want sent it to server via
> remoting. How I can do that? I need data and diffgram statuses in server
> (inserted, modified)
>
> If is not possible, can I some how convert strongly typed dataset to plain
> dataset and still have diffgram statuses?
>
> Thanks for advices
>
>
>
.
- Follow-Ups:
- Re: Strongly typed dataset and remoting
- From: Sakke
- Re: Strongly typed dataset and remoting
- References:
- Strongly typed dataset and remoting
- From: Sakke
- Strongly typed dataset and remoting
- Prev by Date: Re: Listener pattern - UI Marshaling issue
- Next by Date: Re: IE hosted control - 100 sec delay at startup
- Previous by thread: Strongly typed dataset and remoting
- Next by thread: Re: Strongly typed dataset and remoting
- Index(es):
Relevant Pages
|