Click here to Skip to main content
15,886,639 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi all,

Now am successfully connect client and server based on ip address. my connection string at client is (Data Source=192.168.x.x(server IP),Initial Catalog=aaa,User=sa,Password='xxx'). Data are successfully saved both client and server. But now my problem is data are stored only when the internet is enable otherwise my data are stored only at client side.
here am think new idea that is "if the data is stored in client when no internet but after the connection is enable between client server the datas are automatically transferred to server".. Is this possible or not, if YES means please say your valuable suggestions..



Thanks in Advance

Dhinesh Kumar.V
Posted

1 solution

That's a bit odd - 192.168.x.x is not an internet IP address - it's part of your local LAN setup (it's a reserved address range).

As for client data later being updated onto a server DB, the process you shoudl be looking at is Replication, and it is a bit more complex than you think...

Start reading here: http://msdn.microsoft.com/en-us/library/ms151198.aspx[^] - but don't expect it to be a five minute job!
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900