This is a simple reminder for myself and you all out there.
If you are using SqlCommand to execute stored procedures, remember to set the command type to StoredProcedure!
SqlCommand cmd = new SqlCommand("storedproc", conn);
cmd.CommandType = CommandType.StoredProcedure;
Showing posts with label SqlCommand. Show all posts
Showing posts with label SqlCommand. Show all posts
Thursday, September 17, 2009
Subscribe to:
Posts (Atom)