Explain commandType property of a SqlCommand object.CommandType property can set to Text, StoredProcedure or TableDirect.
1. Text : This directs the command object to execute the SQL string. 2. StoredProcedure : This indicates that command object has to access stored procedure. 3. TableDirect : This indicates that command object has to retrieve contents of the table.
|