Hi,

I am trying to call a stored procedure within a C# program. I get an
error [I]"The type or namespace name 'CommandType' could not be found (are you missing a using directive or an assembly reference?)",[/I] at the line where I am setting the command type as a stored procedure.

m_cmdPINInsert.CommandType = CommandType.StoredProcedure;

Can someone help what I am overlooking here.

Thanks,
Gurupot.