Instantiating public properties and return them as Connections and SQLCommands

  • Thread starter Thread starter JohnDBCTX
  • Start date Start date
J

JohnDBCTX

Guest
Now that I may have known how to instantiate public properties within a public class, how about this code snippet?

Public Class ConnectOne
Public Property cn as new Connection
Public Property cmd as new SQLCommand
'One property for the SQLcommand here
'One property for the SQLConnection here

'Rest of appended code from last question and response.

End Class


Maybe this can be easier to fill in the blanks for any user who knows more regarding class creating and instantiating.


Regards,

JohnDBCTX



jp

Continue reading...
 
Back
Top