C# .NET - message box for the application |
| srikanth panneer selvam posted at 08-Nov-08 12:45 |
 | this is my connection string for asp.net with c# in windows application
_ConnectionString = "server=(local);Database=testdb ;UID=sa;password=sa1985;";
_Connection = new SqlConnection(_ConnectionString);
_Command = new SqlCommand();
_Command.CommandType = CommandType.StoredProcedure;
_Command.Connection = this._Connection;
i want to know how to display the message box whether database is conected with application or not???
can anyone help me for this.... |