本文整理汇总了C#中TPortalClass.JpCommon.WriteLog方法的典型用法代码示例。如果您正苦于以下问题:C# JpCommon.WriteLog方法的具体用法?C# JpCommon.WriteLog怎么用?C# JpCommon.WriteLog使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类TPortalClass.JpCommon
的用法示例。
在下文中一共展示了JpCommon.WriteLog方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: btnSave_Click
//保存
protected void btnSave_Click(object sender, EventArgs e)
{
if (this.Session["uid"] == null || this.Session["uid"].ToString() == "")
{
this.Response.Redirect("../login.aspx");
}
string ls_tip = "提交成功!";
TPortalClass.DAO db = new TPortalClass.DAO();
TPortalClass.JpCommon JpCommon = new TPortalClass.JpCommon();
TPortalClass.JpGoods JpGoods = new TPortalClass.JpGoods();
JpGoods.hy_cid =ddlcolname.Value;
JpGoods.hy_goodsname = txthy_goodsname.Text;
JpGoods.hy_goodstitle = txthy_goodstitle.Text;
JpGoods.hy_linkurl = txthy_linkurl.Text;
JpGoods.hy_content = txthy_content.Text;
JpGoods.hy_goodsprice = Convert.ToDouble(txthy_goodsprice.Text);
JpGoods.hy_sort = Convert.ToInt32(txthy_sort.Text);
JpGoods.hy_ifsh = 0;
JpGoods.docid = this.txtDocid.Value;
if (this.txtop.Value == "add")
{
//写系统日志
string userip = Request.ServerVariables["HTTP_X_FORWARDED_FOR"];
if (userip == null || userip == "")
{
userip = Request.ServerVariables["REMOTE_ADDR"];
}
JpCommon.WriteLog(userip, "新增", "新增商品记录[id:" + this.txtid.Value + "]", Session["uid"].ToString(), Session["uname"].ToString());
JpGoods.Insert();
}
else
{
//写系统日志
string userip = Request.ServerVariables["HTTP_X_FORWARDED_FOR"];
if (userip == null || userip == "")
{
userip = Request.ServerVariables["REMOTE_ADDR"];
}
JpCommon.WriteLog(userip, "修改", "修改广告链接记录[id:" + this.txtid.Value + "]", Session["uid"].ToString(), Session["uname"].ToString());
JpGoods.id = int.Parse(txtid.Value.Trim());
JpGoods.Update();
}
Response.Write("<script>alert('" + ls_tip + "');window.location='" + this.txturl.Value + "'</script>");
}
示例2: btnSubmit_Click
//发布
protected void btnSubmit_Click(object sender, EventArgs e)
{
if (this.Session["uid"] == null || this.Session["uid"].ToString() == "")
{
this.Response.Redirect("../login.aspx");
}
string ls_tip = "发布成功!";
TPortalClass.JpCommon JpCommon = new TPortalClass.JpCommon();
TPortalClass.JpPhotography JpPhotography = new TPortalClass.JpPhotography();
JpPhotography.id = Convert.ToInt32(txtid.Value);
JpPhotography.hy_uid = txthy_uid.Text;
JpPhotography.hy_addtime = Convert.ToDateTime(txthy_addtime.Text);
JpPhotography.hy_address = txthy_address.Text;
JpPhotography.hy_content = txthy_content.Text;
JpPhotography.hy_ifsh = 2;
JpPhotography.hy_sort = Convert.ToInt32(txthy_sort.Text);
JpPhotography.docid = txtDocid.Value;
//写系统日志
string userip = Request.ServerVariables["HTTP_X_FORWARDED_FOR"];
if (userip == null || userip == "")
{
userip = Request.ServerVariables["REMOTE_ADDR"];
}
JpCommon.WriteLog(userip, "发布", "发布手摄记录[id:" + this.txtid.Value + "]", Session["uid"].ToString(), Session["uname"].ToString());
JpPhotography.Update();
Response.Write("<script>alert('" + ls_tip + "');window.location='" + this.txturl.Value + "'</script>");
}
示例3: btnSave_Click
//保存排序
protected void btnSave_Click(object sender, EventArgs e)
{
TPortalClass.JpCommon JpCommon = new TPortalClass.JpCommon();
TPortalClass.JpRole JpRole = new TPortalClass.JpRole();
for (int i = 0; i < rptList.Items.Count; i++)
{
//int id = Convert.ToInt32(((HiddenField)rptList.Items[i].FindControl("hidId")).Value);
string id = ((HiddenField)rptList.Items[i].FindControl("hidId")).Value;
float sortId;
if (!float.TryParse(((TextBox)rptList.Items[i].FindControl("txtSortId")).Text.Trim(), out sortId))
{
sortId = 99;
}
JpRole.Updatesort(id, sortId);
}
string pageUrl = JpCommon.CombUrlTxt("list_role.aspx", "page={0}&rnd={1}",
"" + this.txtPage.Text + "", "" + System.Guid.NewGuid().ToString() + "");
//写系统日志
string userip = Request.ServerVariables["HTTP_X_FORWARDED_FOR"];
if (userip == null || userip == "")
{
userip = Request.ServerVariables["REMOTE_ADDR"];
}
JpCommon.WriteLog(userip, "保存排序", "批量保存权限排序号", Session["uid"].ToString(), Session["uname"].ToString());
Response.Write("<script>alert('保存排序成功!');window.location='" + pageUrl + "';</script>");
}
示例4: btnSubmit_Click
//提交
protected void btnSubmit_Click(object sender, EventArgs e)
{
if (this.Session["uid"] == null || this.Session["uid"].ToString() == "")
{
this.Response.Redirect("../login.aspx");
}
string ls_tip = "审核成功!";
TPortalClass.JpActivity JpActivity = new TPortalClass.JpActivity();
TPortalClass.JpCommon JpCommon = new TPortalClass.JpCommon();
TPortalClass.DAO db = new TPortalClass.DAO();
string sql_cg = "update hy_activity set hy_ifsh=2 where id=" + System.Int32.Parse(this.txtid.Value) + "";
db.Execute(sql_cg);
//写系统日志
string userip = Request.ServerVariables["HTTP_X_FORWARDED_FOR"];
if (userip == null || userip == "")
{
userip = Request.ServerVariables["REMOTE_ADDR"];
}
JpCommon.WriteLog(userip, "审核", "审核活动记录[id:" + this.txtid.Value + "]", Session["uid"].ToString(), Session["uname"].ToString());
JpActivity.Update();
Response.Write("<script>alert('" + ls_tip + "');window.location='" + this.txturl.Value + "'</script>");
}
示例5: btnSubmit_Click
//答复
protected void btnSubmit_Click(object sender, EventArgs e)
{
if (this.Session["uid"] == null || this.Session["uid"].ToString() == "")
{
this.Response.Redirect("../login.aspx");
}
string ls_tip = "答复成功!";
TPortalClass.DAO db = new TPortalClass.DAO();
TPortalClass.JpCommon JpCommon = new TPortalClass.JpCommon();
string ls_ = txthy_reply.Text;
int ls_hy_ifsh = 2;
//写系统日志
string userip = Request.ServerVariables["HTTP_X_FORWARDED_FOR"];
if (userip == null || userip == "")
{
userip = Request.ServerVariables["REMOTE_ADDR"];
}
JpCommon.WriteLog(userip, "答复", "答复求助记录[id:" + this.txtid.Value + "]", Session["uid"].ToString(), Session["uname"].ToString());
string sql_Update = " UPDATE hy_help SET";
sql_Update += " hy_reply ='" + txthy_reply.Text + "'";
sql_Update += " , hy_replytime ='" + DateTime.Now.ToString("yyyy-MM-dd") + "'";
sql_Update += " , hy_ifsh =" + ls_hy_ifsh + " where id=" + Convert.ToInt32(txtid.Value.Trim()) + "";
db.Execute(sql_Update);
Response.Write("<script>alert('" + ls_tip + "');window.location='" + this.txturl.Value + "'</script>");
}
示例6: btnDelete_Click
//删除
protected void btnDelete_Click(object sender, EventArgs e)
{
TPortalClass.JpCommon JpCommon = new TPortalClass.JpCommon();
TPortalClass.JpActivity JpActivity = new TPortalClass.JpActivity();
string ls_tip = "删除成功!";
for (int i = 0; i < rptList.Items.Count; i++)
{
string id = ((HiddenField)rptList.Items[i].FindControl("hidId")).Value;
CheckBox cb = (CheckBox)rptList.Items[i].FindControl("chkId");
if (cb.Checked)
{
JpActivity.id = int.Parse(id);
JpActivity.Delete();
}
}
string pageUrl = JpCommon.CombUrlTxt("list_activity_sh.aspx", "page={0}&rnd={1}",
"" + this.txtPage.Text + "", "" + System.Guid.NewGuid().ToString() + "");
//写系统日志
string userip = Request.ServerVariables["HTTP_X_FORWARDED_FOR"];
if (userip == null || userip == "")
{
userip = Request.ServerVariables["REMOTE_ADDR"];
}
JpCommon.WriteLog(userip, "删除", "批量删除广告记录", Session["uid"].ToString(), Session["uname"].ToString());
Response.Write("<script>alert('" + ls_tip + "');window.location='" + pageUrl + "';</script>");
}
示例7: btnDeal_Click
//受理
protected void btnDeal_Click(object sender, EventArgs e)
{
TPortalClass.JpCommon JpCommon = new TPortalClass.JpCommon();
TPortalClass.JpAdver JpAdver = new TPortalClass.JpAdver();
string ls_tip = "受理成功!";
for (int i = 0; i < rptList.Items.Count; i++)
{
string id = ((HiddenField)rptList.Items[i].FindControl("hidId")).Value;
CheckBox cb = (CheckBox)rptList.Items[i].FindControl("chkId");
if (cb.Checked)
{
TPortalClass.DAO db = new DAO();
string sql = "update hy_help set hy_ifsh=1 where id=" + int.Parse(id) + "";
db.Execute(sql);
}
}
string pageUrl = JpCommon.CombUrlTxt("list_help_sh.aspx", "page={0}&rnd={1}",
"" + this.txtPage.Text + "", "" + System.Guid.NewGuid().ToString() + "");
//写系统日志
string userip = Request.ServerVariables["HTTP_X_FORWARDED_FOR"];
if (userip == null || userip == "")
{
userip = Request.ServerVariables["REMOTE_ADDR"];
}
JpCommon.WriteLog(userip, "审核", "批量受理帮办记录", Session["uid"].ToString(), Session["uname"].ToString());
Response.Write("<script>alert('" + ls_tip + "');window.location='" + pageUrl + "';</script>");
}
示例8: btnSubmit_Click
//保存
protected void btnSubmit_Click(object sender, EventArgs e)
{
if (this.Session["uid"].ToString() == "")
this.Response.Redirect("../login.aspx");
if (this.txtoldpwd.Text == "")
{
this.Response.Write("<script language=javascript>alert('请输入旧密码!')</script>");
return;
}
if (this.txtnewpwd.Text == "")
{
this.Response.Write("<script language=javascript>alert('请输入新密码!')</script>");
return;
}
if (this.txtcomfig.Text == "")
{
this.Response.Write("<script language=javascript>alert('请输入确认密码!')</script>");
return;
}
if (this.txtnewpwd.Text != this.txtcomfig.Text)
{
this.Response.Write("<script language=javascript>alert('输入的新密码和确认密码不一致!')</script>");
return;
}
TPortalClass.JpUsers Users = new TPortalClass.JpUsers();
String password = System.Web.Security.FormsAuthentication.HashPasswordForStoringInConfigFile(this.txtoldpwd.Text, "MD5");
if (!Users.Login(Session["uid"].ToString(), password))
{
this.Response.Write("<script language=javascript>alert('输入旧密码不正确!')</script>");
return;
}
if (Users.DoChPwd(Session["uid"].ToString(), this.txtnewpwd.Text))
{
//写系统日志
TPortalClass.JpCommon JpCommon = new TPortalClass.JpCommon();
string userip = Request.ServerVariables["HTTP_X_FORWARDED_FOR"];
if (userip == null || userip == "")
{
userip = Request.ServerVariables["REMOTE_ADDR"];
}
JpCommon.WriteLog(userip, "修改密码", "修改密码", Session["uid"].ToString(), Session["uname"].ToString());
this.Response.Write("<script language=javascript>alert('修改密码成功!');window.location='main_xgmm.aspx?rnd=" + System.Guid.NewGuid().ToString() + "';</script>");
}
else
{
this.Response.Write("<script language=javascript>alert('修改密码失败!');window.location='main_xgmm.aspx?rnd=" + System.Guid.NewGuid().ToString() + "';</script>");
}
}
示例9: btnSubmit_Click
//保存
protected void btnSubmit_Click(object sender, EventArgs e)
{
if (this.Session["uid"].ToString() == "")
this.Response.Redirect("../login.aspx");
string ls_tip = "保存成功!";
//新文档时
TPortalClass.JpUsers JpUsers = new TPortalClass.JpUsers();
JpUsers.uid = this.txtuid.Text;
JpUsers.uname = this.txtuname.Text;
JpUsers.deptid = this.ddldept.SelectedValue;
JpUsers.usort = System.Int32.Parse(this.txtusort.Text);
JpUsers.createtime = System.DateTime.Now.ToString();
if (this.txtop.Value == "add")
{
if (JpUsers.IsExist())
{
this.Response.Write("<script language=javascript>alert('该人员已经存在!')</script>");
return;
}
//写系统日志
TPortalClass.JpCommon JpCommon = new TPortalClass.JpCommon();
string userip = Request.ServerVariables["HTTP_X_FORWARDED_FOR"];
if (userip == null || userip == "")
{
userip = Request.ServerVariables["REMOTE_ADDR"];
}
JpCommon.WriteLog(userip, "新增", "新增用户记录[id:" + this.txtuid.Text + "]", Session["uid"].ToString(), Session["uname"].ToString());
JpUsers.Insert();
}
else
{
//写系统日志
TPortalClass.JpCommon JpCommon = new TPortalClass.JpCommon();
string userip = Request.ServerVariables["HTTP_X_FORWARDED_FOR"];
if (userip == null || userip == "")
{
userip = Request.ServerVariables["REMOTE_ADDR"];
}
JpCommon.WriteLog(userip, "修改", "修改用户记录[id:" + this.txtuid.Text + "]", Session["uid"].ToString(), Session["uname"].ToString());
JpUsers.Update();
}
Response.Write("<script>alert('" + ls_tip + "');window.location='" + this.txturl.Value + "'</script>");
}
示例10: btnDelete_Click
//批量删除
protected void btnDelete_Click(object sender, EventArgs e)
{
TPortalClass.JpCommon JpCommon = new TPortalClass.JpCommon();
TPortalClass.JpDepts JpDepts = new TPortalClass.JpDepts();
TPortalClass.JpUsers JpUsers = new TPortalClass.JpUsers();
string ls_tip = "删除成功!";
for (int i = 0; i < rptList.Items.Count; i++)
{
//int id = Convert.ToInt32(((HiddenField)rptList.Items[i].FindControl("hidId")).Value);
string id = ((HiddenField)rptList.Items[i].FindControl("hidId")).Value;
CheckBox cb = (CheckBox)rptList.Items[i].FindControl("chkId");
if (cb.Checked)
{
//判断是否还有子部门,如果有子部门不能删除
DataTable dt_sub = JpDepts.GetSubDepts(id);
if (dt_sub.Rows.Count > 0)
{
ls_tip = "有下一级组织的信息无法删除,请先删除下一级信息!";
}
else
{
//判断部门下边是否存在人员,存在人员也不能删除!
DataTable dt_user = JpUsers.GetUsersBydeptid(id);
if (dt_user.Rows.Count > 0)
{
ls_tip = "该组织下还存在用户,无法进行删除!";
}
else
{
JpDepts.deptid = id;
JpDepts.Delete();
}
}
}
}
string pageUrl = JpCommon.CombUrlTxt("list_bmxx.aspx", "page={0}&rnd={1}",
"" + this.txtPage.Text + "", "" + System.Guid.NewGuid().ToString() + "");
//写系统日志
string userip = Request.ServerVariables["HTTP_X_FORWARDED_FOR"];
if (userip == null || userip == "")
{
userip = Request.ServerVariables["REMOTE_ADDR"];
}
JpCommon.WriteLog(userip, "删除", "批量删除组织记录", Session["uid"].ToString(), Session["uname"].ToString());
Response.Write("<script>alert('" + ls_tip + "');window.location='" + pageUrl + "';</script>");
}
示例11: btnSubmit_Click
//保存
protected void btnSubmit_Click(object sender, EventArgs e)
{
if (this.Session["uid"].ToString() == "")
this.Response.Redirect("../login.aspx");
string ls_tip = "保存成功!";
//新文档时
TPortalClass.JpTemplate JpTemplate = new TPortalClass.JpTemplate();
JpTemplate.tclass = this.txthy_type.SelectedValue;
JpTemplate.url = this.txthy_templateurl.Text;
JpTemplate.description = this.txthy_template.Text;
if (this.txtop.Value == "add")
{
if(JpTemplate.IsExist())
{
this.Response.Write("<script>alert('该模版已经存在!')</script>");
return;
}
//写系统日志
TPortalClass.JpCommon JpCommon = new TPortalClass.JpCommon();
string userip = Request.ServerVariables["HTTP_X_FORWARDED_FOR"];
if (userip == null || userip == "")
{
userip = Request.ServerVariables["REMOTE_ADDR"];
}
JpCommon.WriteLog(userip, "新增", "新增模板记录[id:" + this.txthy_templateurl.Text + "]", Session["uid"].ToString(), Session["uname"].ToString());
JpTemplate.Insert();
}
else
{
//写系统日志
TPortalClass.JpCommon JpCommon = new TPortalClass.JpCommon();
string userip = Request.ServerVariables["HTTP_X_FORWARDED_FOR"];
if (userip == null || userip == "")
{
userip = Request.ServerVariables["REMOTE_ADDR"];
}
JpCommon.WriteLog(userip, "修改", "修改模板记录[id:" + this.txthy_templateurl.Text + "]", Session["uid"].ToString(), Session["uname"].ToString());
JpTemplate.Update();
}
Response.Write("<script>alert('" + ls_tip + "');window.location='" + this.txturl.Value + "'</script>");
}
示例12: btnpwd_Click
//初始化密码
protected void btnpwd_Click(object sender, EventArgs e)
{
TPortalClass.JpUsers users = new TPortalClass.JpUsers();
users.ResetPwd(this.txtuid.Text);
TPortalClass.JpCommon JpCommon = new TPortalClass.JpCommon();
string pageUrl = JpCommon.CombUrlTxt("list_user.aspx", "page={0}&rnd={1}&keywords={2}&deptid={3}",
"" + this.txtPage.Text + "", "" + System.Guid.NewGuid().ToString() + "", "" + this.txtKeywords.Text + "", "" + this.ddldept.SelectedValue + "");
//写系统日志
string userip = Request.ServerVariables["HTTP_X_FORWARDED_FOR"];
if (userip == null || userip == "")
{
userip = Request.ServerVariables["REMOTE_ADDR"];
}
JpCommon.WriteLog(userip, "初始化密码", "初始化密码[用户ID:" + this.txtuid.Text + "]", Session["uid"].ToString(), Session["uname"].ToString());
Response.Write("<script>alert('初始化密码成功!');window.location='" + pageUrl + "';</script>");
}
示例13: btnSubmit_Click
//保存
protected void btnSubmit_Click(object sender, EventArgs e)
{
if (this.Session["uid"].ToString() == "")
this.Response.Redirect("../login.aspx");
string ls_tip = "保存成功!";
//新文档时
TPortalClass.JpDepts JpDepts = new TPortalClass.JpDepts();
JpDepts.deptid = this.txtdeptid.Text;
JpDepts.deptname = this.txtdeptname.Text;
JpDepts.deptsort = System.Int32.Parse(this.txtdeptsort.Text.ToString());
JpDepts.factdeptid = "";
JpDepts.HeadUnit = "";
JpDepts.SubDept = "";
if (this.txtop.Value == "add")
{
//写系统日志
TPortalClass.JpCommon JpCommon = new TPortalClass.JpCommon();
string userip = Request.ServerVariables["HTTP_X_FORWARDED_FOR"];
if (userip == null || userip == "")
{
userip = Request.ServerVariables["REMOTE_ADDR"];
}
JpCommon.WriteLog(userip, "新增", "新增组织记录[id:" + this.txtdeptid.Text + "]", Session["uid"].ToString(), Session["uname"].ToString());
JpDepts.Insert();
}
else
{
//写系统日志
TPortalClass.JpCommon JpCommon = new TPortalClass.JpCommon();
string userip = Request.ServerVariables["HTTP_X_FORWARDED_FOR"];
if (userip == null || userip == "")
{
userip = Request.ServerVariables["REMOTE_ADDR"];
}
JpCommon.WriteLog(userip, "修改", "修改组织记录[id:" + this.txtdeptid.Text + "]", Session["uid"].ToString(), Session["uname"].ToString());
JpDepts.Update();
}
Response.Write("<script>alert('" + ls_tip + "');window.location='" + this.txturl.Value + "'</script>");
}
示例14: btnSubmit_Click
//保存
protected void btnSubmit_Click(object sender, EventArgs e)
{
if (this.Session["uid"].ToString() == "")
this.Response.Redirect("../login.aspx");
string ls_tip = "保存成功!";
TPortalClass.JpSite JpSite = new TPortalClass.JpSite();
JpSite.SiteName = this.txthy_siteName.Text;
JpSite.CompName = this.txthy_compName.Text;
JpSite.host = this.txthy_host.Text;
JpSite.root = this.txtroot.Text;
JpSite.tel = this.txthy_tel.Text;
JpSite.fax = this.ddlhtml.SelectedValue;
JpSite.adminemail = this.txthy_adminemail.Text;
JpSite.bah = this.txthy_bah.Text;
JpSite.seo_indextitle = this.txthy_seo_indextitle.Text;
JpSite.seo_indexkeyword = this.txthy_seo_indexkeyword.Text;
JpSite.seo_indexdescription = this.txthy_seo_indexdescription.Text;
JpSite.copyright = this.txthy_copyright.Text;
JpSite.homepage = this.txthy_homepage.Text;
JpSite.dbname = this.txthy_dbname.Text;
JpSite.visitors = System.Int32.Parse(this.txthy_visitors.Text);
JpSite.version = this.txthy_version.Text;
JpSite.nwyuming = this.txthy_nwyuming.Text;
JpSite.wwyuming = this.txthy_wwyuming.Text;
JpSite.lan_big5 = this.ddllan_big5.SelectedValue;
//写系统日志
TPortalClass.JpCommon JpCommon = new TPortalClass.JpCommon();
string userip = Request.ServerVariables["HTTP_X_FORWARDED_FOR"];
if (userip == null || userip == "")
{
userip = Request.ServerVariables["REMOTE_ADDR"];
}
JpCommon.WriteLog(userip, "修改", "修改系统设置记录[id:" + this.txthy_siteName.Text + "]", Session["uid"].ToString(), Session["uname"].ToString());
JpSite.Update();
Response.Write("<script>alert('" + ls_tip + "');window.location='" + this.txturl.Value + "'</script>");
}
示例15: btnSubmit_Click
//保存
protected void btnSubmit_Click(object sender, EventArgs e)
{
if (this.Session["uid"].ToString() == "")
this.Response.Redirect("../login.aspx");
string ls_tip = "保存成功!";
//新文档时
TPortalClass.JpRole JpRole = new TPortalClass.JpRole();
JpRole.hy_roleid = this.txthy_roleid.Text;
JpRole.hy_rolename = this.txthy_rolename.Text;
JpRole.hy_sort = float.Parse(this.txthy_sort.Text);
if (this.txtop.Value == "add")
{
//写系统日志
TPortalClass.JpCommon JpCommon = new TPortalClass.JpCommon();
string userip = Request.ServerVariables["HTTP_X_FORWARDED_FOR"];
if (userip == null || userip == "")
{
userip = Request.ServerVariables["REMOTE_ADDR"];
}
JpCommon.WriteLog(userip, "新增", "新增权限记录[id:" + this.txthy_roleid.Text + "]", Session["uid"].ToString(), Session["uname"].ToString());
JpRole.Insert();
}
else
{
//写系统日志
TPortalClass.JpCommon JpCommon = new TPortalClass.JpCommon();
string userip = Request.ServerVariables["HTTP_X_FORWARDED_FOR"];
if (userip == null || userip == "")
{
userip = Request.ServerVariables["REMOTE_ADDR"];
}
JpCommon.WriteLog(userip, "修改", "修改权限记录[id:" + this.txthy_roleid.Text + "]", Session["uid"].ToString(), Session["uname"].ToString());
JpRole.Update();
}
Response.Write("<script>alert('" + ls_tip + "');window.location='" + this.txturl.Value + "'</script>");
}