组合运行提示错误 有没有老师可以帮忙解答呢?
Dim cr As new cr.class1
Dim a1 As String = """" & "Data Source= " & e.Form.Controls("TextBox1").Value & ";"
Dim a2 As String = "Initial Catalog= " & e.Form.Controls("TextBox2").Value & ";"
Dim a3 As String = "user id= " & e.Form.Controls("TextBox3").Value & ";"
Dim a4 As String = "Password= " & e.Form.Controls("TextBox4").Value & ""","
Dim a5 As String = """" & e.Form.Controls("TextBox5").Value & ""","
Dim a6 As String = """" & e.Form.Controls("TextBox6").Value & ""","
Dim a7 As String = """" & e.Form.Controls("TextBox7").Value & ""","
Dim a8 As String = """" & e.Form.Controls("TextBox8").Value & ""","
Dim a9 As String = """" & e.Form.Controls("TextBox9").Value & """"
Dim str As String = a1 & a2 & a3 & a4 & a5 & a6 & a7 & a8 & a9
e.Form.Controls("TextBox10").text=str
cr.CreateDatabase(str)
此主题相关图片如下:11111.png