Visual Basic - Sql Server Bağlantı
49 بار بازدید -
6 سال پیش
-
Imports System.Data.Sql
Imports System.Data.SqlClient
Public
Imports System.Data.Sql
Imports System.Data.SqlClient
Public Class Form1
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim BaglantiSatiri As String = "data source=OZITR-PC\SQLEXPRESS;initial catalog=kullanici;Integrated Security=True"
Dim Baglanti As New SqlConnection(BaglantiSatiri)
Try
Baglanti.Open()
Label1.Text = "Bağlantı başarılı."
Catch ex As Exception
Label1.Text = "H
6 سال پیش
در تاریخ 1397/03/03 منتشر شده
است.
49
بـار بازدید شده