---
title: "Describe Command Type property of a SQLCommand in ADO.NET?"  
description: "Describe Command Type property of a SQLCommand in ADO.NET?"  
author: "Pushpendra Singh"  
published: 2010-10-25  
updated: 2020-09-15  
canonical: https://www.mindstick.com/interview/127/describe-command-type-property-of-a-sqlcommand-in-ado-dot-net  
category: "db2"  
tags: ["db2"]  
reading_time: 1 minute  

---

# Describe Command Type property of a SQLCommand in ADO.NET?

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

## Answers

### Answer by Rajesh Goswami

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


---

Original Source: https://www.mindstick.com/interview/127/describe-command-type-property-of-a-sqlcommand-in-ado-dot-net

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
