P
Paez
Hello there.
My teacher asked me to do a job and I don't know how..
This is the scenario:
I must create a client/server application. The server application is a c#
web server and the client is a c# windows aplication. The web service will
connect with a access database.
So, when the client asks for some data, the web service queries the database
and sends the data to the cliente. This is where my problem begins. How can
I send the data????
Initially, I was sending the client the dataset, but I am not allowed to do
it. So, how can I send the data?
Shall I create a class "DataToSend" similary to the data that I want to send
and then create an "DataToSend" array and finally send that array?
Shall I serialize that class?
Shall I think in another way?
Which is the best practice?
Thanks in advance.
Paez
My teacher asked me to do a job and I don't know how..
This is the scenario:
I must create a client/server application. The server application is a c#
web server and the client is a c# windows aplication. The web service will
connect with a access database.
So, when the client asks for some data, the web service queries the database
and sends the data to the cliente. This is where my problem begins. How can
I send the data????
Initially, I was sending the client the dataset, but I am not allowed to do
it. So, how can I send the data?
Shall I create a class "DataToSend" similary to the data that I want to send
and then create an "DataToSend" array and finally send that array?
Shall I serialize that class?
Shall I think in another way?
Which is the best practice?
Thanks in advance.
Paez