如何部署服务器客户端获取应用程序 [英] How to deploy server client win app

查看:85
本文介绍了如何部署服务器客户端获取应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经在我的电脑和我的带有数据库和桌子的局域网服务器上创建了服务器客户端Windows应用程序。







现在我正在创建app的.exe文件



如果我将.exe安装到用户的机器(客户端)和客户端的服务器机器上自动创建存储数据所需的数据库和表格?



或者我必须在用户的服务器机器上手动创建数据库和表格?



i在一个数据库中有64个表。

所以有没有机会在服务器机器上自动创建数据库和表?



如果是,请告诉我执行此任务的过程。



我尝试过:



i尚未检查数据库和表格是否创建



i我很困惑,这是我的第一个项目。

i have created server client windows app with c# on my pc and my lan server machine with database and tables .



now i am creating .exe file of app

if i install this .exe to user's machine(client) and the server machine of client autometically create database and tables which is required to store data ?

or i have to manually create database and tables in user's server machine ?

i have 64 tables in one database .
so is there any chance to create database and table autometically in server machine ?

if yes please show me the process for doing this task.

What I have tried:

i am not checked yet that database and tables created or not

i am confused on that this is my first project.

推荐答案

完成以下步骤



1.生成数据库脚本并在客户端PC上运行。



2.生成设置运行它在服务器上并更改连接字符串。



3.运行应用程序。
Follwo the follwing steps

1. Generate the Database script and run it on client PC.

2. Generate the setup run it on the server and change the connection string.

3. Run the application.


这篇关于如何部署服务器客户端获取应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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