Home > DeveloperSection > Interviews > Describe Command Type property of a SQLCommand in ADO.NET?

Posted on    October-25-2010 12:00 AM

 DB2 DB2 
Ratings:
 1 Answer(s)
  882  View(s)
Rate this:

Rajesh Goswami

Total Post:85

Points:425
Posted on    November-08-2010 1:00 AM

CommndType is the property of command object.
commandType show that command is text type or procedure type we use as

cmd.CommandType=CommandType.Text
cmd.CommandType=CommandType.StoredProcedure

Don't want to miss updates? Please click the below button!

Follow MindStick