Class MyConnection
Inherits SqlClient.SqlConnection
End Class
That is the code to inherit from SqlConnection. I'm not sure what you want
to accomplish, but this class will have all of the existing members of
SqlConnection, as well as any members that you wish to add.
I hope this helps.
"Girish" <an*******@discussions.microsoft.com> wrote in message
news:02****************************@phx.gbl...
Hi all,
I want help i am new vb.net i want to write very general
connection class object in vb.net and i want to call on of
get property from this connection class object and store
in local sqlclient.sqlconnection variable object and use
it.
Can somebody help me out.