Home > Net >  SqlDataReader SDR=CMD. ExecuteReader ()
SqlDataReader SDR=CMD. ExecuteReader ()

Time:01-24

Please comment: a book about using ExecuteReader () method to create a SqlDataReader object, object instantiation of a class, isn't it? Method is not only call? How to use methods to create objects? .

CodePudding user response:

Method is to have a return value, the return value can be a number, a string, or to create a good object,

CodePudding user response:

Method can call, it can be done? Method has a return value can also be? Ha ha ha ha

CodePudding user response:

The book said method can bring the return value?
He just returns a SqlDataReader type, this is what the book says methods to create objects, don't be text pit you!
  •  Tags:  
  • C#
  • Related