Windows form - Connect SQL server
Hi,
I want to done the following task : In windows form,I have button. when i click that button it will connect to database(SQL Server).How i express this? I want to display it in the label as "Database connected" , "Database not connected". Can anyone give me idea to do this?