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

来源:互联网 发布:c 高级编程第7版 pdf 编辑:程序博客网 时间:2024/04/28 20:11

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>