📄 form1.frm
字号:
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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -