المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : Check Database Connectivity...



C# Programming
07-17-2009, 10:00 AM
Hi,

Can anyone tell me how will I go about checking database connectivity using C#? I have an application that I want to enable users to click on a button and then it will check if the app can connect to the database.

The database is SQL 2005 Express and I am using Visual Studio 2008 with .NET 3.5.

Illegal Operation