Select from following answers:- CommandType
- CommandText
- Connection
- All Above
CommandType property of SqlCommand object is used for setting whether command-type is Text or StoredProcedure.
For ex:-
SqlCommand cmd = new SqlCommand();
cmd.CommandText = "sp_insert_employee_master_record";
cmd.CommandType = CommandType.StoredProcedure;
Show Correct Answer
Asked In: Many Interviews |
Alert Moderator