int SpParam = 0;
SqlCommand cmd = new SqlCommand();
cmd.Connection = con;
cmd.CommandType = CommandType.StoredProcedure;
cmd.CommandText = "sp_SelectCountry";
cmd.Parameters.AddWithValue("@country_id,@country_name",SpParam);
con.Open();
cmd.ExecuteNonQuery();
da = new SqlDataAdapter(cmd);
da.Fill(dtCountry);
con.Close();
显示错误 .. 喜欢而 Sp_SelectCountry Hav No Paramerter like dat .. 请帮助伙计们 ..