日期:2014-05-17 浏览次数:20561 次
int claId = Convert.ToInt32(Request.QueryString["claID"]);
for (int i = 0; i < dsDeta.Tables[0].Rows.Count; i++)
{
TextBox txXuhao = this.form1.FindControl("txtXuhao"+i) as TextBox;
int a =Convert.ToInt32(txXuhao.Text.ToString());
DropDownList dpte = this.form1.FindControl("dptea" + i) as DropDownList;
int b =Convert.ToInt32(dpte.SelectedValue);
TextBox txtBe = this.form1.FindControl("txtBegin"+i) as TextBox;
DateTime c = Convert.ToDateTime("2013-07-01 11:30:00.000");
TextBox txten = this.form1.FindControl("txtEnd" + i) as TextBox;
DateTime d = Convert.ToDateTime("2013-07-01 11:30:00.000");
TextBox txtco = this.form1.FindControl("txtCode" + i) as TextBox;
string e = txtco.Text;
string sql2 = "UPDATE tbl_Class_Profile_Detail SET Class_ID = @claid , Class_Sequence = @seq"
+ ", Teacher_ID =@tead , Class_Time_Begin =@begin , Class_Time_End =@end , Course_Code = @code WHERE Detail_ID=@detailid ";