Hi i try to get first name from the npuser class but it shows the error OBJECT REFERENCE NOT SET TO AN INSTANCE OF AN OJECT below i have attached the code.,pls guide me
NPBasePage bp = new NPBasePage();
NPUser nc = new NPUser(bp.UserID);
((TextBox)this.FindControl("TextBox1")).Text = nc.FirstName;
Regards
Kannan.D