Command Object's Method

objects exposes methods for executing commands based on the type of command and desired return value 1) ExecuteNonQuery: Executes a command that does not return any rows. 2) ExecuteReader: Returns a DataReader object. 3) ExecuteRow: Return sql record (return one datbase record) 4) ExecuteScalar: Returns a single scalar value. 5) ExecuteXMLReader: Returns an XmlReader. Available for a SqlCommand object only.

Comments

Popular posts from this blog

How to get motherboard serial number, Processor ID, VolumeSerialNumber using C#?

Fiserv Interview Questions.

AngularJs - Simple Example