protected void ImgUpload_Click(object sender, EventArgs e)
 {
     try
     {
         // Dm.IEmpId = EmpId.Text.ToString();
         Dm.IEmpId = EmployeeId.SelectedItem.Value.ToString();
         if (ImageFileUpload1.HasFile)
         {
             extn = System.IO.Path.GetExtension(ImageFileUpload1.FileName);
             // path = Server.MapPath("\\PIMS\\UI\\Image\\");
             path      = Server.MapPath("..\\UI\\Image\\");
             ImageName = ImageFileUpload1.FileName;
             ImageFileUpload1.SaveAs(path + ImageName);
             etn = ImageName;
             //Label1.Text = path;
         }
         else
         {
             etn = "No File";
         }
         Dm.EmpImg = etn.ToString();
         Dm.EmpImgUpload(Dm);
     }
     catch (Exception e1)
     {
     }
 }