G
Guest
I'm trying to create a generic class which will take a command string and I
can issue statement like this:
Dim rdrCustomers As New Generic_Reader("select * from customers")
However, I have not found anyway to do that. It seems that I may need to
create some functions instead of class and issue statement like this:
Dim rdrCustomers As SqlDataReader = GetDataReader("select * from customers")
can issue statement like this:
Dim rdrCustomers As New Generic_Reader("select * from customers")
However, I have not found anyway to do that. It seems that I may need to
create some functions instead of class and issue statement like this:
Dim rdrCustomers As SqlDataReader = GetDataReader("select * from customers")