本文介绍了如果CLINT是一个城市,而另一个城市是服务器,我如何在vb.net中制作在线软件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是计算机科学学士学位的学生.我正在开发软件.我正在使用计算机语言vb.net.我正在开发的软件是会计软件,其中有一个数据库和某些表格.
有一个在sql server 2000中建立的数据库,并且有很多表.
我的问题是我将用于客户端和数据库的软件安装在计算机中.
我和客户端也都在使用DSL Internet.
我想当我的客户打开该软件,然后他在软件中工作时,他保存记录,以便将其保存在我的计算机数据库中.
请告诉我完整的方法.
我看到的软件与bat格式的文件相同,我必须先运行它,然后运行成功,然后才能打开软件.
我的软件正在使用下面的连接,请告诉我.

I am student of bachelor of computer science. I am working on a software .I am using a computer language vb.net. I am working on software that is Accounts Software there a database and some forms.
There is a database which is made in sql server 2000 and there are many tables.
My question is that I make that software for a Client and database will be attached in my computer.
Both are using DSL internet me and Client too.
I want to that when my Client open that software and then he work in the software then he save record so it saved in my computer database.
Please tell me complete way of that.
I saw software same as there is a bat format file I have to run first it then it successful then I can open software.
There is bellow my connection which is I am using in my software please tell me about it please.

Public Function connection() As SqlConnection

con = New SqlConnection("server=(local);database=shaan;integrated security=true")

        Return con
    End Function


这仅当软件在我自己的计算机上运行时使用,但是当我的客户端使用软件并且他也使用DSL互联网连接时如何连接,因此如何在服务器和客户端之间建立连接

客户端将请求发送到服务器


This is just use when software is running in my own computer but what will be connection when my Client will use software and he is also using DSL internet connection so how can create connection between server and Client

Client send request to server

推荐答案

Data Source=Your Public IP Address,1433;Network Library=DBMSSOCN;Initial Catalog=YouDataBase;User ID=myUsername;Password=myPassword;



这篇关于如果CLINT是一个城市,而另一个城市是服务器,我如何在vb.net中制作在线软件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

11-02 04:28