I always included the at sign in the parameter name when using AddWithValue, but I only noticed code written by someone else that didn't use it. Is one way more correct than the other?
cmd.Parameters.AddWithValue("ixCustomer", ixCustomer);
or
cmd.Parameters.AddWithValue("@ixCustomer", ixCustomer);
adambox
source share