using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
public partial class modiZHPJ : System.Web.UI.Page
{
LYS.UserData1 myud = new LYS.UserData1();
protected void Page_Load(object sender, EventArgs e)
{
int ID = Convert.ToInt16(Request.QueryString["ID"].ToString());
string myURL = myud.GetAddressUrl().ToString();
if (myURL.LastIndexOf("ID") < 0)
{
Response.Write("");
Response.End();
}
if (!IsPostBack)
{
ZJ.Text = Convert.ToDateTime(myud.GetFieldValueFromFieldName("听课日期", ID, "TKJL").ToString()).ToShortDateString();
TextBox1.Text=myud.GetFieldValueFromFieldName("督导姓名", ID, "TKJL").ToString();
DD.Text = myud.GetFieldValueFromFieldName("上课地点", ID, "TKJL").ToString();
JSXM.Text = myud.GetFieldValueFromFieldName("教师姓名", ID, "TKJL").ToString();
XB.Text = myud.GetFieldValueFromFieldName("系部", ID, "TKJL").ToString();
KM.Text = myud.GetFieldValueFromFieldName("课程名", ID, "TKJL").ToString();
BJ.Text = myud.GetFieldValueFromFieldName("班级", ID, "TKJL").ToString();
XQ.Text = myud.GetFieldValueFromFieldName("星期", ID, "TKJL").ToString();
JC.Text = myud.GetFieldValueFromFieldName("节次", ID, "TKJL").ToString();
PF.Text = myud.GetFieldValueFromFieldName("总评分", ID, "TKJL").ToString();
PJ.Text = myud.GetFieldValueFromFieldName("点评评价", ID, "TKJL").ToString();
ZHPJ.Text = myud.GetFieldValueFromFieldName("综合评价", ID, "TKJL").ToString();
}
}
protected void Button1_Click(object sender, EventArgs e)
{
int ID = Convert.ToInt16(Request.QueryString["ID"].ToString());
string sql1 = "select * from TKJL where id=" + Convert.ToInt16(Request.QueryString["ID"].ToString());
myud.UpdateStringFieldValue("TKJL", "综合评价", ZHPJ.Text, ID);
Response.Write("");
}
}