TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
rani m mk
NA
50
42.6k
Not able to understand what this error is,please have a look?
Jul 24 2012 3:04 AM
Hi,
error is as below:
exc = {Unable to evaluate expression because the code is optimized or a native frame is on top of the call stack
My code which gives the error is as below :
protected void btnlogin_Click(object sender, EventArgs e)
{
int result = 0;
try
{
if ((ValidationBAL.IsPresent(txtUserName, "UserName") && ValidationBAL.IsPresent(txtpassword, "Password")) == true)
{
result = DMLObj.Validate_Login(txtUserName.Text, txtpassword.Text);
if (result == 1)
{
Response.Redirect("~/Address/frmContacts.aspx");
Session["User"] = txtUserName.Text;
}
else if (result == 0)
{
lblmsg.Text = "Invalid Login!";
pnlLogin.Visible = true;
}
}
}
catch (Exception exc)
{
throw exc;
}
}
Reply
Answers (
2
)
Crystal Report
change regional language based on button click