hi,
i am getting this error: Unable to evaluate expression because the code is optimized or a native frame is on top of the call stack.
and this is my code where i am getting error.
if (Session["edit"].ToString() == "y" || Session["master"].ToString() == "y" || Session["del"].ToString() == "y")
{
btncancel.Text = "Cancel";
//txtprodesc.Text = txtpronm.Text = "";
ds = new DataSet();
ds =settcls.SelectallproductSuppliersetting();
if (ds.Tables[0].Rows.Count > 0)
{
btnsave.Enabled = btnedit.Enabled = false;
txtsetproductid.Visible = false;
txtpreid.Visible = true;
lbmsg.Visible = true;
lbmsg.Text = "Enter Productid";
txtpreid.Focus();
Response.Redirect(this.Page.AppRelativeVirtualPath);
}