Koray Kırdinli

Yazılım ve İş Yaşamı Hakkında Paylaşımlar

70-515 Örnek Soru 15

Aşağıdaki kod parçasını çalıştırmak için nasıl bir connection string yaratmak gerekir?

SqlConnection conn = new SqlConnection(connectionString);
SqlCommand db = new SqlCommand(“SELECT ID, Contact FROM Vendors”, conn);
conn.Open();
AsyncCallback callback = new AsyncCallback(DisplayResults);
db.BeginExecuteReader(callback, db);

Cevap : Connection Stringe “Asynchronous Processing=true” eklenmelidir.

January 19, 2012 - Posted by | 70-515 | , ,

No comments yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s