Exemple #1
0
    protected void Update_Btn_Click(object sender, EventArgs e)
    {
        Job job = new Job();

        job.ID      = Int32.Parse(ID.Value.ToString());
        job.Title   = Title.Text.ToString();
        job.Content = Content.Value.ToString();
        job.Click   = Int32.Parse(Click.Text.ToString());
        JobSystem jobSystem = new JobSystem();

        jobSystem.Update_Job(job);
        Response.Write("<script>alert('修改成功');location.href='Get_Job.aspx';</script>");
    }