473,396 Members | 1,968 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Datasets accross a network.

Hi All.

I've been trying to think of a way to pass datasets, or tables from one PC
to another.

This would be the scenario.

Client PC sends an SQL query to a 'server'.
The 'server' would make a connection to a back end database.
The 'server' would retrieve data and send it back to the client.

It would basically be a way to avoid many PC's connecting to a back end
database.

I'm sure the way to handle the data transfer would be through sockets, but
how would I send a data table?

Any ideas?
Cheers,
Tull.
Mar 30 '07 #1
5 952
If you don't need the n-tier model, then you can simply connect to
database on server directly from the client and when you have direct
access to database you can create datatable or do whatever you want
with the database. However if you want some kind of separate data
layer, then you should use a webservice on the server which will
serialise the dataset as XML and you need to deserialise it again on
client. .net remoting can also be a choice for you. I am not an expert
in any of these areas however.

You may like to check following article:
http://msdn2.microsoft.com/en-us/library/ms978496.aspx

Regards,

Sachin Palewar
(Certified Scrum Master)

Palewar Techno Solutions
(Mobile Solutions for Your Business)
www.palewar.com


On Mar 30, 10:22 pm, "tclancey" <t...@idcodeware.co.ukwrote:
Hi All.

I've been trying to think of a way to pass datasets, or tables from one PC
to another.

This would be the scenario.

Client PC sends an SQL query to a 'server'.
The 'server' would make a connection to a back end database.
The 'server' would retrieve data and send it back to the client.

It would basically be a way to avoid many PC's connecting to a back end
database.

I'm sure the way to handle the data transfer would be through sockets, but
how would I send a data table?

Any ideas?
Cheers,
Tull.

Mar 30 '07 #2
Thanks for yout info, I'll take a look.
Cheers,
Tull.

"Sachin Palewar" <pa*****@gmail.comwrote in message
news:11**********************@o5g2000hsb.googlegro ups.com...
If you don't need the n-tier model, then you can simply connect to
database on server directly from the client and when you have direct
access to database you can create datatable or do whatever you want
with the database. However if you want some kind of separate data
layer, then you should use a webservice on the server which will
serialise the dataset as XML and you need to deserialise it again on
client. .net remoting can also be a choice for you. I am not an expert
in any of these areas however.

You may like to check following article:
http://msdn2.microsoft.com/en-us/library/ms978496.aspx

Regards,

Sachin Palewar
(Certified Scrum Master)

Palewar Techno Solutions
(Mobile Solutions for Your Business)
www.palewar.com


On Mar 30, 10:22 pm, "tclancey" <t...@idcodeware.co.ukwrote:
>Hi All.

I've been trying to think of a way to pass datasets, or tables from one
PC
to another.

This would be the scenario.

Client PC sends an SQL query to a 'server'.
The 'server' would make a connection to a back end database.
The 'server' would retrieve data and send it back to the client.

It would basically be a way to avoid many PC's connecting to a back end
database.

I'm sure the way to handle the data transfer would be through sockets,
but
how would I send a data table?

Any ideas?
Cheers,
Tull.


Mar 30 '07 #3
Tclancey,

A dataset is even at a standalone computer not such a fine thing comparting
with SQLExpress.
If it has an error mostly all your data is corrupted.

Secondly is a dataset not multiuser, only one user can work on it at a time.

Cor

"tclancey" <tu**@idcodeware.co.ukschreef in bericht
news:eX**************@TK2MSFTNGP02.phx.gbl...
Hi All.

I've been trying to think of a way to pass datasets, or tables from one PC
to another.

This would be the scenario.

Client PC sends an SQL query to a 'server'.
The 'server' would make a connection to a back end database.
The 'server' would retrieve data and send it back to the client.

It would basically be a way to avoid many PC's connecting to a back end
database.

I'm sure the way to handle the data transfer would be through sockets, but
how would I send a data table?

Any ideas?
Cheers,
Tull.

Mar 31 '07 #4
On Fri, 30 Mar 2007 18:22:10 +0100, tclancey wrote:
Hi All.

I've been trying to think of a way to pass datasets, or tables from one PC
to another.

This would be the scenario.

Client PC sends an SQL query to a 'server'.
The 'server' would make a connection to a back end database.
The 'server' would retrieve data and send it back to the client.

It would basically be a way to avoid many PC's connecting to a back end
database.

I'm sure the way to handle the data transfer would be through sockets, but
how would I send a data table?

Any ideas?
Cheers,
Tull.
Take a look at webservices. You could write one that retrieved the data
from a central server for applications to consume
--
Bits.Bytes
http://bytes.thinkersroom.com
Mar 31 '07 #5
On Fri, 30 Mar 2007 18:22:10 +0100, tclancey wrote:
Hi All.

I've been trying to think of a way to pass datasets, or tables from one PC
to another.

This would be the scenario.

Client PC sends an SQL query to a 'server'.
The 'server' would make a connection to a back end database.
The 'server' would retrieve data and send it back to the client.

It would basically be a way to avoid many PC's connecting to a back end
database.

I'm sure the way to handle the data transfer would be through sockets, but
how would I send a data table?

Any ideas?
Cheers,
Tull.
Take a look at webservices. You could write one that retrieved the data
from a central server for applications to consume
--
Bits.Bytes
http://bytes.thinkersroom.com
Mar 31 '07 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: William Ryan | last post by:
At the risk of sounding like a Big 5 consultant, "It depends". 1) Strongly typed datasets rock, they are faster than untyped, use intellisense... but your reason for wanting to use them is...
45
by: cody | last post by:
I've seen an Introduction on ADO.NET with its Datasets on .NET TV and Iam now wondering how it is realized/used in real world applications. I don't believe that one would create a dataset and add...
0
by: William Ryan | last post by:
At the risk of sounding like a Big 5 consultant, "It depends". 1) Strongly typed datasets rock, they are faster than untyped, use intellisense... but your reason for wanting to use them is...
45
by: cody | last post by:
I've seen an Introduction on ADO.NET with its Datasets on .NET TV and Iam now wondering how it is realized/used in real world applications. I don't believe that one would create a dataset and add...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.