Example #1
0
 public void ActivateJobSeeker(BE_JsAppliedJobs beactivate)
 {
     SqlParameter[] param = new SqlParameter[2];
     param[0]       = new SqlParameter("@email", SqlDbType.NVarChar, 50);
     param[0].Value = beactivate.email;
     param[1]       = new SqlParameter("@regSession", SqlDbType.NVarChar, 50);
     param[1].Value = beactivate.JId;
     SqlHelper.ExecuteNonQuery(connectionString, CommandType.StoredProcedure, "spsActivateJobSeeker", param);
 }
Example #2
0
 public string getAppliedJobs(BE_JsAppliedJobs beview)
 {
     SqlParameter[] param = new SqlParameter[3];
     param[0]           = new SqlParameter("@email", SqlDbType.VarChar, 50);
     param[0].Value     = beview.email;
     param[1]           = new SqlParameter("@jobid", SqlDbType.VarChar, 20);
     param[1].Value     = beview.JId;
     param[2]           = new SqlParameter("@Message", SqlDbType.VarChar, 20);
     param[2].Direction = ParameterDirection.Output;
     SqlHelper.ExecuteNonQuery(conn, CommandType.StoredProcedure, "SpsJobSeekerApply", param);
     return(Convert.ToString(param[2].Value));
 }
Example #3
0
 protected void Page_Load(object sender, EventArgs e)
 {
     try
     {
         BE_JsAppliedJobs beactivate = new BE_JsAppliedJobs();
         beactivate.email = Request.QueryString["id"].ToString();
         beactivate.JId   = Request.QueryString["id1"].ToString();
         BAJobSeeker baactivate = new BAJobSeeker();
         baactivate.ActivateJobSeeker(beactivate);
     }
     catch (Exception exe)
     {
         lblConfirmation.Text = "There is a problem in activating your account. Please<br /><a href=\"JobSeekerLogin.aspx\">click here</a> to register with ploutuS LLC.";
     }
 }
Example #4
0
 public void ActivateJobSeeker(BE_JsAppliedJobs beactivate)
 {
     DAreg.ActivateJobSeeker(beactivate);
 }
Example #5
0
 public string GetAppliedJobs(BE_JsAppliedJobs beview)
 {
     return(jsview.getAppliedJobs(beview));
 }