读书人

paip.没有源码的情况上更改ASP.net AS

发布时间: 2012-09-25 09:55:59 作者: rapoo

paip.没有源码的情况下更改ASP.net ASPX页

paip.没有源码的情况下更改ASP.net ASPX页

作者Attilax , 1466519819@qq.com
直接双击页面,无反应。。将 inherits="WebAdmin_AccountAdd, LebiMall"删掉。。然后,再双击,就有了Page_Load事件..

<%@ page language="C#" autoeventwireup="true" inherits="WebAdmin_AccountAdd, LebiMall" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-

transitional.dtd">


<script runat="server">

protected void Page_Load(object sender, EventArgs e)
{
base.Page_Load(null, null);

}

protected void Button1_Click(object sender, EventArgs e)
{

// Response.Write("aaa");
base.Button1_ServerClick(null, null);

//int uid = int.Parse(HttpContext.Current.Request["uid"]);
string uname = txt_username.Value;
Decimal money =Decimal.Parse( txt_money.Value);
Ipinjeo pj = accRAM.getPinjeor();
pj.save(uname, "acc module admin", money, pinjeoType.adminAdd);
}

</script>

读书人网 >网络基础

热点推荐