سوف اجرب الان
الان هذا كود الاتصال من الموقع:
workstation id=moohameed.mssql.somee.com;packet size=4096;user id=0000;pwd=0000;data source=moohameed.mssql.somee.com;persist security info=False;initial catalog=moohameed
اضعه بدل كود الاتصال في الفيجول عندي
سعود هذا نص الاتصال الاساسي في المشروع
Try
SqlConn.ConnectionString = "Data Source=ALJEEL-PC\SQLEXPRESS;Initial Catalog=dbM;Integrated Security=True"
SqlConn.Open()
If SqlConn.State = ConnectionState.Open Then
MsgBox("تم الاتصال بنجاح", MsgBoxStyle.Information)
Else
MsgBox("Not Connected")
End If
Catch ex As Exception
MsgBox(ex.Message)
End Try
الان هذا كود الاتصال من الموقع:
workstation id=moohameed.mssql.somee.com;packet size=4096;user id=0000;pwd=0000;data source=moohameed.mssql.somee.com;persist security info=False;initial catalog=moohameed
اضعه بدل كود الاتصال في الفيجول عندي
سعود هذا نص الاتصال الاساسي في المشروع
Try
SqlConn.ConnectionString = "Data Source=ALJEEL-PC\SQLEXPRESS;Initial Catalog=dbM;Integrated Security=True"
SqlConn.Open()
If SqlConn.State = ConnectionState.Open Then
MsgBox("تم الاتصال بنجاح", MsgBoxStyle.Information)
Else
MsgBox("Not Connected")
End If
Catch ex As Exception
MsgBox(ex.Message)
End Try
