Need help with this Null Exception

1 posts, 0 answers
  1. Lock
    Lock avatar
    1 posts
    Member since:
    Aug 2014

    Posted 08 Aug 2014 Link to this post

    I have done this in the initial work file and everything went fine. After i integrate this into the project, this error ->  "System.NullReferenceException: Object reference not set to an instance of an object." appear.

    Stack Trace: 

    [NullReferenceException: Object reference not set to an instance of an object.]
    UltimateFurniture.CustomerReg.btnConfirm_Click1(Object sender, EventArgs e) in C:\Users\Ang yong xin\Documents\ecommerce application project\UltimateFurniture backup(6)\UltimateFurniture\UltimateFurniture\Register.aspx.cs:85
    System.Web.UI.WebControls.Button.OnClick(EventArgs e) +9752554
    System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +196
    System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +10
    System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13
    System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +35
    System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1724
Back to Top