.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Post New Web Links


Posted By:      Posted Date: September 02, 2010    Points: 0   Category :ASP.Net
Hi,   Actually,  I need to save all the inputs to my MS SQL DB from the ASP.Net page inputs...  When i save this information, It has to check whether exists or not...    If its exists then it shows The Customer already exists..   If it does not exists it needs to show like , Thank You for register with us.. , and after 5 secs it automatically redirect to some other pages... This all can be done under update panel... Here i am using,   tr_exists.InnerHtml = "Thank you for register with us..";                 Response.Redirect("Customer_Login.aspx");                 System.Threading.Thread.Sleep(5000);     if (does not exists) {    lable1.text = "Thank you for register with us..";    label1.visible=true;    Response.Redirect("Login.aspx");    System.Threading.Thread.Sleep(5000); } else {   label1.text = "The Customer Already exists";   label1.visible= true; } It works when it exists...     and it will redirect few sec's later when it does not exist... but in the mean time, it needs to show like "Thank you for Registering with us" in label... Advice me.. Regards, Athikesavan.S

View Complete Post

More Related Resource Links

ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend