IDBHelp db = DBFactory.Create(); //实例化工厂 protected void Page_Load(object sender, EventArgs e) { //List<SUC_USER> usr = new SUC_USER().FindAll(); //Response.Write("<script language='javascript'>alert('用户:" + usr[0].NAME + " 你好,你是:" + usr[].ROLE.NAME + "');</script>"); //return; //DataTable tb = new SUC_USER().FindAllTable().Tables[0]; //string jstb = JsonHelper.DataTableToJSON(tb); //tb = new DataTable(); //tb = JsonHelper.JsonToDataTable(jstb); // //return; JsUtil.LocationNewHref("/FP/FilePage.aspx"); return; //DataTable dt = db.GetDataTable("select * from suc_files"); //string jsdt = JsonHelper.DataTableToJSON(dt); //Response.Write(jsdt); //SucCookie.Add("dt", jsdt, 30); }
protected void lk_modifypwd_Click(object sender, EventArgs e) { JsUtil.LocationNewHref("ModifyPassword.aspx"); }