Using System

Published on January 2017 | Categories: Documents | Downloads: 51 | Comments: 0 | Views: 250
of 10
Download PDF   Embed   Report

Comments

Content

using
using
using
using
using

System.Web.UI.WebControls;
System.Web.UI.WebControls.WebParts;
System.Web.UI.HtmlControls;
System.Xml.Linq;
System.Data.SqlClient;

namespace Taslima_Nasrin_ONLINE_JOB_PORTAL.Company
{
public partial class deleteuser : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
e)

protected void GridView1_SelectedIndexChanged(object sender, EventArgs
{
}

protected void GridView1_RowCancelingEdit(object sender,
GridViewCancelEditEventArgs e)
{
GridView1.EditIndex = -1;
Showdata();
}
protected void GridView1_RowDeleting(object sender,
GridViewDeleteEventArgs e)
{
Label uid =
(Label)GridView1.Rows[e.RowIndex].FindControl("lblUserid");
create_function_to_delete_data(uid);
}
private void create_function_to_delete_data(Label uid)
{
Onlinejobportal ojp = new Onlinejobportal();
string st = ojp.xyz();
SqlConnection conn = new SqlConnection(st);
SqlDataAdapter ad = new SqlDataAdapter("Select * from Allusers
where Company_id='" + uid.Text + "'", conn);
DataSet ds = new DataSet();
ad.Fill(ds, "Allusers");
DataTable dt = ds.Tables[0];
foreach (DataRow dr in dt.Rows)
{
dr.Delete();
}
SqlCommandBuilder cb = new SqlCommandBuilder(ad);
ad.Update(dt);
Showdata();
}

private void Showdata()
{
Onlinejobportal ojp = new Onlinejobportal();
string st = ojp.xyz();
SqlConnection conn = new SqlConnection(st);
SqlDataAdapter ad = new SqlDataAdapter("Select * from
Allusers",conn);// where Company_id='" + uid.Text + "'", conn);
DataSet ds = new DataSet();
ad.Fill(ds, "Allusers");
DataTable dt = ds.Tables[0];
GridView1.DataSource = ds;
GridView1.DataBind();
}
protected void GridView1_RowEditing(object sender,
GridViewEditEventArgs e)
{
GridView1.EditIndex = e.NewEditIndex;
Showdata();
}
protected void GridView1_RowUpdating(object sender,
GridViewUpdateEventArgs e)
{
Label uid =
(Label)GridView1.Rows[e.RowIndex].FindControl("lblUserid");
TextBox name =
(TextBox)GridView1.Rows[e.RowIndex].FindControl("txtName");
TextBox dob =
(TextBox)GridView1.Rows[e.RowIndex].FindControl("txtdob");
TextBox email =
(TextBox)GridView1.Rows[e.RowIndex].FindControl("txtemail");
TextBox mobile =
(TextBox)GridView1.Rows[e.RowIndex].FindControl("txtmobile");
TextBox designation =
(TextBox)GridView1.Rows[e.RowIndex].FindControl("txtdesignation");
TextBox password =
(TextBox)GridView1.Rows[e.RowIndex].FindControl("txtPassword");
create_function_to_update_data(uid,name,dob,email,mobile,designation,password)
;
}
private void create_function_to_update_data(Label uid, TextBox name,
TextBox dob, TextBox email, TextBox mobile, TextBox designation, TextBox
password)
{
Onlinejobportal ojp = new Onlinejobportal();
string st = ojp.xyz();
SqlConnection conn = new SqlConnection(st);
SqlDataAdapter ad = new SqlDataAdapter("Select * from Allusers
where Company_id='" + uid.Text + "'", conn);
DataSet ds = new DataSet();
ad.Fill(ds, "Allusers");
DataTable dt = ds.Tables[0];
foreach (DataRow dr in dt.Rows)

{

dr[0] = name.Text;
dr[1] = dob.Text;
dr[2] = email.Text;
dr[3] = mobile.Text;
dr[4] = designation.Text;
dr[6] = password.Text;
SqlCommandBuilder cb = new SqlCommandBuilder(ad);
ad.Update(dt);
break;

}
Showdata();
}

}

}
using
using
using
using
using
using
using
using
using
using
using
using
using

System;
System.Collections;
System.Configuration;
System.Data;
System.Linq;
System.Web;
System.Web.Security;
System.Web.UI;
System.Web.UI.WebControls;
System.Web.UI.WebControls.WebParts;
System.Web.UI.HtmlControls;
System.Xml.Linq;
System.Data.SqlClient;

namespace Taslima_Nasrin_ONLINE_JOB_PORTAL.Company
{
public partial class Removejob : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
protected void GridView1_RowCancelingEdit(object sender,
GridViewCancelEditEventArgs e)
{
}
protected void GridView1_RowDeleting(object sender,
GridViewDeleteEventArgs e)
{
}
protected void GridView1_RowUpdating(object sender,
GridViewUpdateEventArgs e)
{

}
protected void GridView1_RowEditing(object sender,
GridViewEditEventArgs e)
{
}

}

}

Removejob.apx.cs
using
using
using
using
using
using
using
using
using
using
using
using
using

System;
System.Collections;
System.Configuration;
System.Data;
System.Linq;
System.Web;
System.Web.Security;
System.Web.UI;
System.Web.UI.WebControls;
System.Web.UI.WebControls.WebParts;
System.Web.UI.HtmlControls;
System.Xml.Linq;
System.Data.SqlClient;

namespace Taslima_Nasrin_ONLINE_JOB_PORTAL.Company
{
public partial class Removejob : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
protected void GridView1_RowCancelingEdit(object sender,
GridViewCancelEditEventArgs e)
{
}
protected void GridView1_RowDeleting(object sender,
GridViewDeleteEventArgs e)
{
}
protected void GridView1_RowUpdating(object sender,
GridViewUpdateEventArgs e)
{
}
protected void GridView1_RowEditing(object sender,
GridViewEditEventArgs e)

{
}

}

}

Selected candidate.apx.cs

using
using
using
using
using
using
using
using
using
using
using
using
using

System;
System.Collections;
System.Configuration;
System.Data;
System.Linq;
System.Web;
System.Web.Security;
System.Web.UI;
System.Web.UI.WebControls;
System.Web.UI.WebControls.WebParts;
System.Web.UI.HtmlControls;
System.Xml.Linq;
System.Data.SqlClient;

namespace Taslima_Nasrin_ONLINE_JOB_PORTAL.Company
{
public partial class selectedcondidate : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
showdata();
}
}
private void showdata()
{
Onlinejobportal ojp = new Onlinejobportal();
string st = ojp.xyz();
SqlConnection conn = new SqlConnection(st);
string status = "Selected";
SqlDataAdapter ad = new SqlDataAdapter("select * From AppliedJobDb
where SelectionStatus='" + status + "'", conn);
DataSet ds = new DataSet();
ad.Fill(ds, "AppliedJobDb");
GridView1.DataSource = ds;
GridView1.DataBind();
}
protected void GridView1_SelectedIndexChanging(object sender,
GridViewSelectEventArgs e)
{
}

protected void GridView1_SelectedIndexChanged1(object sender,
EventArgs e)
{
}
}

}

Viewapplyedjobs.apx.cs
using
using
using
using
using
using
using
using
using
using
using
using
using

System;
System.Collections;
System.Configuration;
System.Data;
System.Linq;
System.Web;
System.Web.Security;
System.Web.UI;
System.Web.UI.WebControls;
System.Web.UI.WebControls.WebParts;
System.Web.UI.HtmlControls;
System.Xml.Linq;
System.Data.SqlClient;

namespace Taslima_Nasrin_ONLINE_JOB_PORTAL.Company
{
public partial class View_Applyed_Job : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
show_all_appliedJOB();
}
}
private void show_all_appliedJOB()
{
Onlinejobportal ojp = new Onlinejobportal();
string st = ojp.xyz();
SqlConnection conn = new SqlConnection(st);
SqlDataAdapter ad = new SqlDataAdapter("select * From
AppliedJobDb", conn);
DataSet ds = new DataSet();
ad.Fill(ds, "AppliedJobDb");
GridView1.DataSource = ds;
GridView1.DataBind();
}

protected void GridView1_SelectedIndexChanged(object sender, EventArgs

e)

{
}

}

}

Waitingcondition.apx.cs
using
using
using
using
using
using
using
using
using
using
using
using

System;
System.Collections;
System.Configuration;
System.Data;
System.Linq;
System.Web;
System.Web.Security;
System.Web.UI;
System.Web.UI.WebControls;
System.Web.UI.WebControls.WebParts;
System.Web.UI.HtmlControls;
System.Xml.Linq;

namespace Taslima_Nasrin_ONLINE_JOB_PORTAL.Company
{
public partial class waitingcondidation : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
}

}

Send_mail.apx.cs
using
using
using
using
using
using
using
using
using
using
using
using

System;
System.Collections;
System.Configuration;
System.Data;
System.Linq;
System.Web;
System.Web.Security;
System.Web.UI;
System.Web.UI.WebControls;
System.Web.UI.WebControls.WebParts;
System.Web.UI.HtmlControls;
System.Xml.Linq;

namespace Taslima_Nasrin_ONLINE_JOB_PORTAL.JOBEMPLOYER
{
public partial class Send_mail : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)

{
}
protected void btnsend_Click(object sender, EventArgs e)
{
}
protected void GridView1_SelectedIndexChanged(object sender, EventArgs
e)

{
}

}

}

View_application.apx.cs

using
using
using
using
using
using
using
using
using
using
using
using

System;
System.Collections;
System.Configuration;
System.Data;
System.Linq;
System.Web;
System.Web.Security;
System.Web.UI;
System.Web.UI.WebControls;
System.Web.UI.WebControls.WebParts;
System.Web.UI.HtmlControls;
System.Xml.Linq;

namespace Taslima_Nasrin_ONLINE_JOB_PORTAL.JOBEMPLOYER
{
public partial class View_Application : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
protected void GridView1_SelectedIndexChanged(object sender, EventArgs

e)

{
}

}

}

Apply.apx.cs

using
using
using
using
using
using
using
using
using
using
using
using

System;
System.Collections;
System.Configuration;
System.Data;
System.Linq;
System.Web;
System.Web.Security;
System.Web.UI;
System.Web.UI.WebControls;
System.Web.UI.WebControls.WebParts;
System.Web.UI.HtmlControls;
System.Xml.Linq;

namespace Taslima_Nasrin_ONLINE_JOB_PORTAL.JOBSEEKER
{
public partial class Apply : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
}

}

}

Change_password.apx.cs
using
using
using
using
using
using
using
using
using
using
using
using

System;
System.Collections;
System.Configuration;
System.Data;
System.Linq;
System.Web;
System.Web.Security;
System.Web.UI;
System.Web.UI.WebControls;
System.Web.UI.WebControls.WebParts;
System.Web.UI.HtmlControls;
System.Xml.Linq;

namespace Taslima_Nasrin_ONLINE_JOB_PORTAL.JOBSEEKER
{
public partial class Changr_password : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
}

}

CONCLUSION AND FUTURE SCOPE
CONCLUSION

Conclusion
Job matchmaking is an important issue in today’s global, distributed and
heterogeneous market. We have briefly explored how available technology
can possibly help how job recruitment and job seeking processes are
implemented.
We strongly believe that, due to its high social impact, research has to
look with “Job Matchmaking” not only with the goal to propose advances in
the scientific knowledge, but because this is an application area capable of
bringing direct and immediate benefits to humanity
Future Improvements

There is always a room for improvement in any software package, however good
and efficient it may be. The important thing is that the website should be flexible
enough for further modifications. Considering this important factor, the web site is
designed in such a way that the provisions are given for further enhancements. At
present this website provides all the information using static pages and reservation
forms.
In future we can enhance our project by providing options like. Include many
sites information.

Sponsor Documents

Or use your account on DocShare.tips

Hide

Forgot your password?

Or register your new account on DocShare.tips

Hide

Lost your password? Please enter your email address. You will receive a link to create a new password.

Back to log-in

Close