ASP.NET w/ C#
I'm collecting data from 5 textboxes. After data is input, a submit button is clicked to send the data to be displayed on another form, and hopefully save it to a database.
Upon clicking 'submit'
I get NullReferenceException was unhandled by user code
this is highlighted in that form's code behind...
if (clsDataLayer.SavePersonnel(Server.MapPath("PayrollSystem_DB.mdb"),
Session["FirstName"].ToString,
Session["LastName"].ToString,
Session["PayRate"].ToString,
Session["StartDate"].ToString,
Session["EndDate"].ToString()))
any ideas? I'm not very experienced. Thanks in advance!!