I am trying to use DbParameter class in my vb.net code
Dim ParamPass As New DbParameter
ParamPass.ParameterName = "@UserPass"
ParamPass.Value = "xxxxx"
I got this message
new cannot be used on a class that is declared mustinherit
if I removed "New" I got anther error
Object reference not set to an instance of an object
I am building an VB.net application to work with 2 different kinds of databases and I need to use this class to create general parameters to pass to anther function.
Any help?