form1.frm
来自「备份SQL数据库用,下下来就能用」· FRM 代码 · 共 47 行
FRM
47 行
VERSION 5.00
Begin VB.Form Form1
Caption = "Form1"
ClientHeight = 3165
ClientLeft = 60
ClientTop = 450
ClientWidth = 5190
LinkTopic = "Form1"
ScaleHeight = 3165
ScaleWidth = 5190
StartUpPosition = 3 '窗口缺省
Begin VB.TextBox Text1
Height = 1860
Left = 135
MultiLine = -1 'True
TabIndex = 1
Top = 225
Width = 4965
End
Begin VB.CommandButton Command1
Caption = "应用实例"
Height = 555
Left = 1710
TabIndex = 0
Top = 2340
Width = 1590
End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Private Const cNumber = "100.001"
Private Const cName = "411962437"
Private Sub Command1_Click()
'初始化我们的构建类
Dim csql As New CSQLMaker
csql.StrSql = "Insert Into tbl(Number,Name) values(?,?)"
'向构件类里加值
csql.SetStringEx (cNumber)
csql.SetStringEx (cName)
Debug.Print csql.StrSql
Text1.Text = csql.StrSql
End Sub
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?