protected void Button1_Click(object sender, EventArgs e)
{
string warehouseId = Request.QueryString["warehouseId"].ToString();
string sql = "select dateline from oms_ebay_class where ebayClassId=" + warehouseId + "";
DataTable dt = ZWL.DBUtility.DbHelperSQL.GetDataTable(sql);
string tb1 = dt.Rows[0]["ebayClassId"].ToString();
string sql1 = "updates oms_ebay_class set ebayClassId =" + tb1 + " where ebayClassId=" + warehouseId + "";
ZWL.DBUtility.DbHelperSQL.ExecuteSql(sql1);
Response.Redirect("Default.aspx");
}
设个断点,调试一下,看有没有发生异常。
像这种自己都不知道错误哪里就别人怎么帮
自己设置个断电看看啊,真不能着急的