VB通过配置文件Systemini连接数据库
Public conn As New ADODB.Connection Public nowconnectstring As String Public operatetype As Integer Public Declare Function GetPrivateProfileString Lib "Kernel32" Alias "GetPrivateProfileStringA" (ByVal lpApplicationName As String, lpKeyName As Any, ByVal lpDefault As String, ByVal lpRetunedString A
用户评论
很好,学习了ini文件的操作
通过ini文件配置数据库连接方便快捷