12-07-15, 05:58 PM
Try
sqfind.sqlcon.ConnectionString = "server=.\SQLEXPRESS;Initial catalog=POSDB;Integrated security=True"
sqfind.sqlcon.open()
MsgBox("تم الاتصال بنجاح", MsgBoxStyle.Exclamation)
Catch ex As Exception
MsgBox(ex.Message)
End Try
sqfind.sqlcon.ConnectionString = "server=.\SQLEXPRESS;Initial catalog=POSDB;Integrated security=True"
sqfind.sqlcon.open()
MsgBox("تم الاتصال بنجاح", MsgBoxStyle.Exclamation)
Catch ex As Exception
MsgBox(ex.Message)
End Try

