Hi
I am facing an error message when move to another page in my c# application which this page contain cascading dropdownlist. I didnt know how i can fix it so could you please help me with it.
The parameterized query '(@Country nvarchar(4000))SELECT State FROM State WHERE Country =' expects the parameter '@Country', which was not supplied.
protected void Page_Load(object sender, EventArgs e)
{
HttpCookie cookie = Request.Cookies.Get("Location");
if (!IsPostBack)
{
if (cookie != null)
{
DataTable StateDT = new DataTable();
using (SqlConnection con2 = new SqlConnection(ConfigurationManager.ConnectionStrings["BeravaConnectionString"].ConnectionString))
{
// Create the SelectCommand.
...
Go to the complete details ...