connect database ใน vb.net 2005 กับ sql server ทำไงค่ะ
Tag : - - - -
Date :
30 ม.ค. 2549 13:45:59
By :
kulikao
View :
2211
Reply :
1
No. 1
Guest
Code (VB.NET)
Sub Page_Load(sender As Object, e As EventArgs)
Dim strConnString As String
strConnString = "Server=localhost;UID=sa;PASSWORD=;database=mydatabase;Max Pool Size=400;Connect Timeout=600;"
objConn = New SqlConnection(strConnString)
objConn.Open()
BindData()
End Sub