示例#1
0
    public void BinData()
    {
        Job       job       = new Job();
        JobSystem jobSystem = new JobSystem();

        job           = jobSystem.Get_SingJob(nID);
        Title.Text    = job.Title;
        ID.Value      = job.ID.ToString();
        Content.Value = job.Content;
        Click.Text    = job.Click.ToString();
    }
示例#2
0
    public void BinData()
    {
        Model.Job job       = new Model.Job();
        JobSystem jobSystem = new JobSystem();

        job = jobSystem.Get_SingJob(nID);
        if (job.ID == nID)
        {
            Title_2.Text    = job.Title;
            Updatatime.Text = job.Updatatime.ToString();
            Content.Text    = job.Content;
        }
        else
        {
            Response.Write("<script>alert('数据不存在');history.back(1);</script>");
            Response.End();
        }
    }