//选题结束时间 protected void btnSave3_Click(object sender, EventArgs e) { Fannie.InitSystem init = new Fannie.InitSystem(); DateTime end = Convert.ToDateTime(sEnd.Value); if (init.SetTime(4, end) > 0) { Response.Write("<script>alert(设置成功')</script>"); } }
//课题申报开始时间 protected void btnSave4_Click(object sender, EventArgs e) { Fannie.InitSystem init = new Fannie.InitSystem(); DateTime begin = Convert.ToDateTime(tBegin.Value); if (init.SetTime(1, begin) > 0) { Response.Write("<script>alert(设置成功')</script>"); } }