![Error](https://i.stack.imgur.com/BaBhC.png)
protected void post_Click(object sender, EventArgs e) {
string id = Session["companyid"].ToString();
ud.PostJob(int.Parse(id),
jobtitle.Text, int.Parse(score.Text),
JobDesc.Text,
percentage.Text,
int.Parse(RadioButtonList1.SelectedValue));
string msg = "Successfully posted";
ClientScript.RegisterStartupScript(GetType(), "alert", "alert('" + msg + "');", true);
}
DataTable dt = ud.CheckCompany(txt_email.Text, txtpassword.Text);
if (dt.Rows.Count > 0) {
Session["Company"] = dt.Rows[0]["name"];
Session["companyid"] = dt.Rows[0]["co_id"];
Session["co_email"] = txt_email.Text;
ClientScript.RegisterStartupScript(GetType(), "alert", "alert('" + Session["co_id"].ToString() + "');", true);
Response.Redirect("/Company_profile.aspx");
}