问题描述
下面代码是通过DOTPEEKcopy的,,保存为User_User_Money_Request_List.aspx.cs然后通过User_User_Money_Request_List.aspx插入<%@PageLanguage="C#"AutoEventWireup="true"CodeFile="User_User_Money_Request_List.aspx.cs"inherits="User_User_Money_Request_List"%>这样回出错,是不是下面代码还差什么啊//DecompiledwithJetBrainsdecompiler//Type:User_User_Money_Request_List//Assembly:Fweb,Version=0.0.0.0,Culture=neutral,PublicKeyToken=null//MVID:A318B4C1-C1C4-4B20-8C05-F58289640A61//Assemblylocation:d:UsersZ.ycDesktopbinFweb.dllusingDtools;usingEdu.IDal;usingSystem;usingSystem.Text;usingSystem.Web;usingSystem.Web.Profile;usingSystem.Web.SessionState;usingSystem.Web.UI.WebControls;publicclassUser_User_Money_Request_List:UserBasePage,IRequiresSessionState{publicstring[]strAd=newstring[2];publicstringP_body=(string)null;publicstringP_page=(string)null;publicstringdtcs=(string)null;publicstringdtjs=(string)null;publicints=0;publicstringk=(string)null;publicstringstrMenu=(string)null;protectedUser_Web_Top_UserWeb_Top1;protectedUser_Web_Left_UserWeb_Left1;protectedRepeaterPageList;protectedLabelLbpage;protectedWeb001_Web_BottomWeb_Bottom1;protectedDefaultProfileProfile{get{return(DefaultProfile)this.Context.Profile;}}protectedHttpApplicationApplicationInstance{get{returnthis.Context.ApplicationInstance;}}protectedvoidPage_Load(objectsender,EventArgse){switch(0){default:label_2:this.Web_Top1.sPath="../../";this.Web_Bottom1.sPath="../../";this.pTitle="我的提现申请-"+this.pTitle;this.dtcs=Dtool.Request_Str("dtcs");this.dtjs=Dtool.Request_Str("dtjs");this.s=Dtool.Request_Int("s");this.k=Dtool.Request_Str("k");stringstr="andUid="+(object)this.userid+"";intnum1=0;intnum2;while(true){boolflag;DateTimedateTime;intnum3;intnum4;intnum5;intnum6;switch(num1){case0:num1=this.dtcs==""?1:11;continue;case1:num3=0;break;case2:str=str+"andAddDate>='"+this.dtcs+"'";num1=18;continue;case3:num3=this.dtcs!=null?1:0;break;case4:num1=this.dtjs==""?9:35;continue;case5:if(1==0);str=string.Concat(newobject[4]{(object)str,(object)"andPstate=",(object)this.s,(object)""});num1=36;continue;case6:if(!flag){num1=5;continue;}elsegotocase36;case7:flag=this.s!=0;num1=23;continue;case8:if(!flag){num1=33;continue;}elsegotocase7;case9:num4=0;gotolabel_26;case10:if(!flag){num1=32;continue;}elsegotocase29;case11:num1=3;continue;case12:num1=!(this.dtcs!="")?30:31;continue;case13:if(!flag){num1=2;continue;}elsegotocase18;case14:num1=22;continue;case15:num1=4;continue;case16:num5=1;gotolabel_37;case17:num2=1;num1=26;continue;case18:num1=27;continue;case19:num4=this.dtjs!=null?1:0;gotolabel_26;case20:if(!flag){num1=24;continue;}elsegotocase15;case21:if(!flag){num1=17;continue;}elsegotolabel_51;case22:num5=this.dtjs==null?1:0;gotolabel_37;case23:if(!flag){num1=28;continue;}elsegotocase34;case24:dateTime=DateTime.Today;this.dtcs=dateTime.ToString();num1=15;continue;case25:num6=this.dtcs==null?1:0;gotolabel_41;case26:gotolabel_51;case27:num1=!(this.dtjs!="")?16:14;continue;case28:this.s=0;num1=34;continue;case29:flag=this.s==-10;num1=6;continue;case30:num6=1;gotolabel_41;case31:num1=25;continue;case32:str=str+"andAddDate<='"+this.dtjs+"'";num1=29;continue;case33:dateTime=DateTime.Today;dateTime=dateTime.AddDays(1.0);this.dtjs=dateTime.ToString();num1=7;continue;case34:num1=12;continue;case35:num1=19;continue;case36:StringBuilderstringBuilder=newStringBuilder();num2=Dtool.Request_Int("page");flag=num2!=0;num1=21;continue;default:gotolabel_2;}flag=num3!=0;num1=20;continue;label_26:flag=num4!=0;num1=8;continue;label_37:flag=num5!=0;num1=10;continue;label_41:flag=num6!=0;num1=13;}label_51:this.PageList.DataSource=(object)newDPage(){Countpage=30,Curpage=num2,Odescsql="Orderbyidasc",Ordersql="Orderbyiddesc",Tablefeild="id,Uname,Uid,Pmemo,Pamount,Pstate,AddDate,Pdays,Pamount_Kill",Tablename="[Api_Money_Request]",Strsql=str,Urlown=("User_Money_Request_List.aspx?dtcs="+(object)this.dtcs+"&dtjs="+this.dtjs+"&s="+(string)(object)this.s+"&k="+this.k),PageTable="[Api_Money_Request]"}.Temp_Dv((string)null,outthis.P_page);this.PageList.DataBind();this.Lbpage.Text=this.P_page;break;}}}
解决方案
本帖最后由 zycgps 于 2015-09-20 13:28:52 编辑
解决方案二:
谁跟你说过反编译的代码可以用呢?我们告诉你要如何编程,那都是自知这种代码可以用的。但是反编译的代码,谁告诉你过你可以用它?
解决方案三:
“这样回出错,是不是下面代码还差什么啊”很简单。它差的就是:要用人类的最起码的编程智慧,把这种反人类的代码手工去重写一遍。
解决方案四:
引用2楼sp1234的回复:
“这样回出错,是不是下面代码还差什么啊”很简单。它差的就是:要用人类的最起码的编程智慧,把这种反人类的代码手工去重写一遍。
嗯,想来也不是这么简单不过看到其他目录下有这样直接的代码,所以我以为这样就可以用唉~
解决方案五:
publicints=0;就是想把这个 s=0 变成 s=-10