Tuesday, May 5, 2015

Session value show in html ASP.NET

Set the value:

  HttpContext.Current.Session["CVVAndOTPRequiredCardMessage"] = cardNoMessage;  
         HttpContext.Current.Session["CVVAndOTPRequiredCardMessage2"] = cardNoMessage2;  

Show session value in html:


  <p>  
            <%=Server.HtmlEncode(HttpContext.Current.Session["CVVAndOTPRequiredCardMessage"].ToString())%></br>  
            <%=Server.HtmlEncode(HttpContext.Current.Session["CVVAndOTPRequiredCardMessage2"].ToString())%>  
             </p>  

vfpoledeb.1 provider is not registered on the local machine

Have u Install VFP Ole DB Provider in your System ? If No then Please Install it from following link. http://www.microsoft.com/download...