protected void lnkBtnFinish_Click(object sender, EventArgs e) { string fileName = SessionClass.getExpertImage(); MESDSTableAdapters.UserCasesTableAdapter ta = new MESDSTableAdapters.UserCasesTableAdapter(); ta.Insert(Session["UserName"].ToString(), fileName, DateTime.Now); Response.Redirect("MyCases.aspx"); }