通过Wifi从PC移动数据库连接 [英] Mobile database connectivity from PC through Wifi

查看:115
本文介绍了通过Wifi从PC移动数据库连接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好帮手
我打算做一个将在移动设备上运行的应用程序,并且数据将通过wifi连接保存在计算机上

例如如果输入我的名字",则应从我的移动应用程序"中将其保存在数据库(SQL Server或任何)中(移动设备和服务器计算机通过Wi-fi连接).
而且我必须通过Windows应用程序在服务器计算机上检索该名称.

请指导我如何进行.

Hello helpers
I am Planning to do one application which will work on Mobile and Data will be saved on Computer through wifi connectivity

e.g. If I enter My Name It should be saved in Database(SQL server or Any) from My Mobile Application (Mobile and Server computer are connected through Wi-fi).

and I have to retrive that name on server computer through windows application.

Please guide me how i can proceed.

推荐答案



使用我正在开发的Mobile软件,我有一个在服务器上运行的Web服务,然后连接到该Web服务以读写服务器上的数据库.

您的第一个C#Web服务 [
Hi,

With the Mobile software I am developing at work, I have a Web Service that runs on the server, and then I connect to this webservice to read and write to the database on the server.

Your first C# Web Service[^]

Use that article to learn about webservices

When you have developed a webservice you can add it as a web reference to your mobile app.

Then create a class to handle communication with the webservice.

The best way to do save data to the database is using stored procedures.


这篇关于通过Wifi从PC移动数据库连接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆