In VB.NET I use this
What's C# equivalent ?VB Code:
Public Shared Sub OpenDB() If Not MyConnection.State = ConnectionState.Open Then MyConnection.Open() Else msgbox ("Connection already open ") End If End Sub
Thanx
|
Results 1 to 31 of 31
Thread: Equivalent of C# ?Threaded View
|
Click Here to Expand Forum to Full Width |