Mike Eghtebas
asked on
Why there is no New constructor for dataReader?
This is a part of code I have:
SqlDataReader dr = cmd.ExecuteReader();
If dr is an object and SqlDataReader is a class? What the above code is doing?
Is it instantiating? Or, it already has been instantiated so we are just initializing it.
I appreciate for posing your comment explaining how this is working?
SqlDataReader dr = cmd.ExecuteReader();
If dr is an object and SqlDataReader is a class? What the above code is doing?
Is it instantiating? Or, it already has been instantiated so we are just initializing it.
I appreciate for posing your comment explaining how this is working?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Mike