源码简介: |
VB源码,数据库应用,销售系统,进销存 VB+SQL商品销售进销存系统,调试请注意: 1.首先确保您的机器上安装了SQL Server数据库。将SQL Server服务器名称改为JAMESLIN,如果不修改服务器名称,则需要修改VB程序,在frmLogin窗体的cmdOK_Click函数中,修改代码: strConn = "Provider=SQLOLEDB.1 Integrated Security=SSPI Persist Security Info=False Initial Catalog=Sale Data Source=JAMESLIN UID=Admin PWD=111" 即Source=JAMESLIN中的“JAMESLIN”改为您本机服务器名。 2.在SQL Server“企业管理器”中“安全性|登录”中,创建用户:Admin,其密码为111。 3.打开SQL Server“企业管理器”的“工具|还原数据库”菜单命令,在对话框在设置还原的数据库名为Sale,选择从“设备”还原,根据向导逐步选择本章目录的“数据库”子目录下的文件Sale Backup,从而建立数据库。 -VB source code, database applications, sales, inventory VB+SQL goods sales Invoicing System, debugging Note: 1. First make sure your machine is installed on the SQL Server database. SQL Server server name is changed to JAMESLIN If you do not modify the server name, you need to modify the VB program In form cmdOK_Click function frmLogin, modify the code: strConn = " Provider = SQLOLEDB.1 Integrated Security = the SSPI Persist Security Info = False Initial Catalog = Sale Data Source = JAMESLIN UID = Admin PWD = 111 " Source = JAMESLIN JAMESLIN changed to your local server name. In SQL Server Enterprise Manager Security | Log in to create a user: Admin, the password is 111. (3) Open SQL Server " Enterprise Manager" Tools | Restore Database menu command, set to restore the database name in the dialog box in Sale, select Restore from device " , select the directory in this chapter according to the wizard step by step" database " sub- files in that directo
|