Re: Strongly typed dataset and remoting



Thanks!

I decide use second way and it worked fine :)


"Beth Massi [Architect MVP]" <bmassi@xxxxxxxxxxx> wrote in message
news:eagxNoihFHA.1148@xxxxxxxxxxxxxxxxxxxxxxx
> 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
>>
>>
>>
>
>


.



Relevant Pages

  • Re: Strongly Typed DataSets
    ... > datasets from my DB schema. ... >> source code. ... so each strongly typed DataSet should only contain related tables. ...
    (microsoft.public.dotnet.framework.adonet)
  • Re: How many typed datasets should I have?
    ... "Deploying Business Entities" ... I create only one strongly typed dataset that includes all the ... typed dataset per web form that includes only the DataTables required ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Output parameter in Typed Dataset
    ... you *can* add an output parameter to a strongly typed dataset. ... Curt Gough ...
    (microsoft.public.dotnet.framework.windowsforms)
  • Re: Strongly typed dataset and remoting
    ... client and the server have the type information available. ... You can also send un-typed datasets to the server from a typed dataset on ... > I have problem with strongly typed dataset and remoting. ...
    (microsoft.public.dotnet.framework.remoting)
  • Strongly typed dataset and remoting
    ... I have problem with strongly typed dataset and remoting. ... I have strongly typed dataset in client and I want sent it to server via ... I need data and diffgram statuses in server ...
    (microsoft.public.dotnet.framework.remoting)