remoting simple..

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Tom

    #1

    remoting simple..

    hi I have a simple question.

    I am writing a simple remoting app.. basically I have client/server and a
    serialised service class.. the problem is I am doing some db work on the
    server and I want to return a dataset and send it to the client.

    now in my service class if I reference the dataset then I also need to
    attach and send the dataset schema to the client..

    would it be easier with just a hashtable ? what is programatically the
    correct way to do this. ?

    thanks
    Tom


  • Patrik Löwendahl [C# MVP]

    #2
    Re: remoting simple..

    Sending a dataset over remoting will serialize it as XML, that means that
    tou shoudl be able to retrieve it as a DataSet on the client side.

    --
    Patrik Löwendahl [C# MVP]
    www.cshrp.net - "Elegant code by witty programmers"
    "Tom" <tomgaomail@opt ushome.com.au> wrote in message
    news:416aa115$0 $4310$afc38c87@ news.optusnet.c om.au...[color=blue]
    > hi I have a simple question.
    >
    > I am writing a simple remoting app.. basically I have client/server and a
    > serialised service class.. the problem is I am doing some db work on the
    > server and I want to return a dataset and send it to the client.
    >
    > now in my service class if I reference the dataset then I also need to
    > attach and send the dataset schema to the client..
    >
    > would it be easier with just a hashtable ? what is programatically the
    > correct way to do this. ?
    >
    > thanks
    > Tom
    >
    >[/color]


    Comment

    Working...