Etiket: Connection String

SQL Connection String (Eng)

Kasım 6th, 2008

You can create Connection String easly & fastly with no memorize. Here the way…

1. Create a txt file and rename it to “asd.udl”

UDL 1

2. Double click on it and on Provider tab, select the provider that you want to use in your connection string.

UDL 2

3. Click on the Next button. On the Connection tab set all the settings. The settings will be change, depends on your provider choice. Test the connection and save it. You can see a sample below.

UDL 3

4. Open the “asd.UDL” file with a text editor and now u can see the connection string.

UDL 4

Tags: , , , ,
Posted in .NeT 2008, SQL Server | No Comments »

SQL Connection String

Kasım 6th, 2008

Çok kolay ve hızlı bir şekilde, o uzun connection kelimelerini ezberlemenize gerek kalmadan SQL Connection Stringler oluşturabilirsiniz. Nasıl mı?

1. Boş bir txt dosyası oluşturun ve ismini “asd.udl” olarak değiştirin.

UDL 1

2. Dosyanın üzerine çift tıklayın ve açılan ekrandan Provider tabına geçin, buradan Connection stringinizde kullanmak istediğiniz providerı seçin.

UDL 2

3. Next butonuna tıklayarak Connection tabına geçin. Buradan da seçtiğiniz Providera bağlı olarak, gelen ayarları tek tek yapmanız gerekmekte. Ayarları tamamladıktan sonra Test Connection ile Connection Stringini kontrol edebilirsiniz. “Test Connection Succeed” mesajını gördükten sonra işleminiz tamamlanmış demektir. Aşağıda basit bir örnek bulabilirsiniz.

UDL 3

4. Bundan sonra yapmanız gereken oluşturduğumuz dosyayı herhangi bir metin editöründe açmak. Connection Stringimiz bu dosyanın içinde olacaktır. Güle güle kullanın :)

UDL 4

Tags: , , , ,
Posted in .NeT 2008, SQL Server | No Comments »