远程,那个大神能排个bug啊,快疯了

我愿意出200C币作为报酬,额外支付 ,可以加我企鹅,内容是关于日程管理,后台代码用json返回前端格式
{"events":[["1541679033898","fhfgjhfd","Nov 8, 2018 6:00:00 PM","Nov 8, 2018 7:00:00 PM",0,0,0,1,1,"",""],["1541682377876","ghfgx","Nov 6, 2018 5:30:00 PM","Nov 6, 2018 6:30:00 PM",0,0,0,1,1,"",""],["1541682386358","hrthtrf","Nov 5, 2018 9:00:00 PM","Nov 5, 2018 10:00:00 PM",0,0,0,1,1,"",""],["1541668928715","dvdsvds","Nov 6, 2018 2:30:00 PM","Nov 6, 2018 3:30:00 PM",0,0,0,1,1,"",""],["1541674887757","恢复规划法规","Nov 7, 2018 9:30:00 AM","Nov 7, 2018 10:30:00 AM",0,0,0,1,1,"",""],["1541681312754","fjgfj","Nov 5, 2018 6:30:00 PM","Nov 5, 2018 7:30:00 PM",0,0,0,1,1,"",""],["1541682239226","djdfgj","Nov 7, 2018 6:30:00 PM","Nov 7, 2018 7:30:00 PM",0,0,0,1,1,"",""],["1541682222683","rthftdjh","Nov 5, 2018 5:30:00 PM","Nov 5, 2018 6:30:00 PM",0,0,0,1,1,"",""],["1541682231431","fdjfgd","Nov 6, 2018 6:30:00 PM","Nov 6, 2018 7:30:00 PM",0,0,0,1,1,"",""],["1541728498590","ghkghk","Nov 5, 2018 5:00:00 AM","Nov 5, 2018 6:00:00 AM",0,0,0,1,1,"",""]],"issort":true,"start":"2018-11-05 00:00","end":"2018-11-11 00:00","error":null}
前端页面是百度出来别人已经写好的,页面有开发文档https://my.oschina.net/redhu/blog/136805

目前问题是后台给前端数据后前端页面不能显示出来

    还有一点我是刚毕业的新人小白
-3

1个回答

有大神帮忙吗,速度啊

-2
Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
其他相关推荐
小弟快疯了!!!快疯了!!!键盘事件啊!!!
我在一个frame里加了很多个label,现在想要用鼠标点击其中任意一个label,然后按键盘上的字母,label里的被容就被改成刚刚按下的字母,可是我这样做了以后就没有反应啊!!!rn以下是部分代码rn[code=Java]rn add(up1);rn up1.setBounds(330, 225, 100, 50);rn setLabel(up1);rn changeSettings(up1);rn rn add(down1);rn down1.setBounds(330, 300, 100, 50);rn setLabel(down1);rn changeSettings(down1);rn rn add(left1);rn left1.setBounds(330, 380, 100, 50);rn setLabel(left1);rn changeSettings(left1);rn rn add(right1);rn right1.setBounds(330, 475, 100, 50);rn setLabel(right1);rn changeSettings(right1);rn rn add(attack1);rn attack1.setBounds(330, 560, 150, 50);rn setLabel(attack1);rn changeSettings(attack1);rn //改变按键设置rn public void changeSettings(final JLabel label)rn label.addMouseListener(new MouseAdapter()rn public void mouseClicked(MouseEvent ex)rn label.setForeground(Color.white);rn label.addKeyListener(new KeyAdapter()rn public void keyTyped(KeyEvent e)rn label.setText(String.valueOf(e.getKeyChar()));rn rn );rn rn );rn [/code]
快疯了,但的确是个小问题啊
start_time=t1.Value.Date; rnDateTime end_time=t2.Value.Date; rn"select * from seer where DateDiff('d',start_time,opentime)>=0 and DateDiff('d',end_time,opentime)<=0"; rn其中t1,t2为DateTimePicker,opentime为access里的一个日期时间字段,我的意思是查询用户所要求的时间段里的记录?请帮帮忙 rn把start_time,end_time该为now()就不会错,不知道他们之间有什么不同,除了值
快疯了。。求救啊。。
public class dbrn rn public static SqlConnection CreateConnection()rn rn SqlConnection con = new SqlConnection("server= rn (Local);database=caonimazhijiadb;uid=PlanetWroxUser;pwd=Pa$$w0rD");rn return con;rn rn rn protected void Page_Load(object sender, EventArgs e)rn rn SqlConnection con = db.CreateConnection();rn tryrn rn con.Open();rn TextBox1.Text = "猪";rn rn rn catchrn rn TextBox2.Text = "果真是猪!!!!!!!";rn rn rn rn连接字符串:rnrn rn rn rn rnrn异常rn无法打开登录所请求的数据库 "caonimazhijiadb"。登录失败。rn用户 'PlanetWroxUser' 登录失败。rnrn其他一切配置都正常,如果不用ADO.net中的组件访问的话,用vs自带的数据控件却能够访问。。。rn已经困扰号几天了。。。求救啊!!!rn
救命啊,快疯了!
为什么我的电脑不能装xp,好像只要是ntfs的就不能装,要不重起,要不就出现蓝屏!请问是不是硬件有问题
那个大神能指导个正则
智能输入四位数字或,四位数字区间,如:2000,或2000-3000。,谢谢,
我快疯了,快救救我啊
先看下代码吧。rnrn[code=Java]rnUserBeanCl.java:rnrnpublic class UserBeanCl rn private ArrayList al=new ArrayList();rn private int pagesize=3;rn private int pagecount=0;rn private int rowcount=0;rn private Connection conn=null;rn private Statement sm=null;rn private ResultSet rs=null;rn private UserBean ub=new UserBean();rn rn public int getPageSize()rn rn return pagesize;rn rn rn public int getPagecount()rn rn tryrn conn=new ConnDB().getConn();rn sm=conn.createStatement();rn rs=sm.executeQuery("select count(*) from users");rn if (rs.next())rn rn rowcount=rs.getInt(1);rn rn if(rowcount%pagesize==0)rn pagecount=rowcount/pagesize;rn elsern pagecount=rowcount/pagesize+1;rn rn catch(Exception e)rn rn e.printStackTrace();rn finallyrn this.close();rn rn return pagecount;rn rn public ArrayList getUsersByPage(int pagenow)rn tryrn conn=new ConnDB().getConn();rn sm=conn.createStatement();rn rs=sm.executeQuery("select * from users limit "+((pagenow-1)*pagesize)+","+pagesize);rn int i=-1;rn while(rs.next())rn rn i++;rn ub.setUserId(rs.getInt(1));rn ub.setUsername(rs.getString(2));rn ub.setPasswd(rs.getString(3));rn ub.setEmail(rs.getString(4));rn ub.setGrade(rs.getInt(5));rn al.add(ub);rn [b][color=#00FF00]System.out.println(((UserBean)al.get(i)).getUserId()+"\t"+i);[/color][/b] rn rn catch(Exception e)rn rn e.printStackTrace();rn finallyrn rn this.close();rn rn return al;rn rn private void close()rn rn tryrn if(rs!=null)rn rs.close();rn rs=null;rn rn if(sm!=null)rn sm.close();rn sm=null;rn rn if(conn!=null)rn conn.close();rn conn=null;rn rn rn catch(Exception e)rn rn e.printStackTrace();rn rnrn rnrnrnWel.jsp的片段:rnrnrn 登陆成功! rn <%rn int pagenow=1;rn String getpage=request.getParameter("page");rn if(getpage!=null) pagenow=Integer.parseInt(getpage);rn Connection conn=new ConnDB().getConn();rn Statement sm=conn.createStatement();rn ResultSet rs=sm.executeQuery("select count(*) from users");rn UserBeanCl ubc=new UserBeanCl();rn ArrayList al=ubc.getUsersByPage(pagenow);rn int pagecount=ubc.getPagecount();rn int pagesize=ubc.getPageSize();rn %>rn rn rn userId username passwd email gradern <% for(int i=0;i <%=ub.getUserId() %> <%=ub.getUsername() %> <%=ub.getPasswd() %> <%=ub.getEmail() %> <%=ub.getGrade() %>rn <% %>rn rn <%if(pagenow!=1) %>rn >上一页 <% %>rn <%rn for(int i=pagenow;i<=(pagecount>(pagesize+pagenow-1)?(pagesize+pagenow-1):pagecount);i++)rn %>rn ><%=i %> rn <% %>rn <%if(pagenow!=pagecount) %>rn >下一页 <% %>rn 返回登陆界面rn rn[/code]rnrn这两段程序的作用是实现分页,可是功能却不正常,每页只能显示完全相同的记录。rnrn数据是从数据库传到UserBeanCl.java,再传到wel.jsp的.我在后台打印了一些内容。在两个文rnrn件中我都使用了System.out.println(((UserBean)al.get(i)).getUserId()+"\t"+i);rnrn来打印记录的id属性(前)和记录的索引(后),可是结果却完全不一样。rnrn在 UserBeanCl将结果返回给Wel.jsp之前的结果是:rn1 0rn2 1rn3 2rn而在传回结果后就变成了rn3 0rn3 1rn3 2rnrn当然前台也就是都显示的完全相同的记录。rnrn而这两次打印之间只有函数返回这一个动作,难道是因为函数返回把ArrayList里面的值改变了?rnrn还是我哪里错了?求教各位了。我都被弄得快崩溃了,大家帮忙看看吧。在下先谢过了。rn
快快啊我快疯了
我想问一下这到底是什么问题啊,求求你们了,有知道的快告诉我好吗?我等了两天了rnjavax.servlet.ServletException: [Microsoft][SQLServer 2000 Driver for JDBC]End of stream was detected on a read.rn at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:481)rn at ch_00031._0002fch_00031_0002fsavedata_0002ejspsavedata_jsp_9._jspService(_0002fch_00031_0002fsavedata_0002ejspsavedata_jsp_9.java:167)rn at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)rn at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:184)rn at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:328)rn at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:407)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:215)rn at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:251)rn at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:977)rn at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:196)rn at org.apache.catalina.valves.ValveBase.invokeNext(ValveBase.java:242)rn at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:242)rn at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:975)rn at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2041)rn at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:161)rn at org.apache.catalina.valves.ValveBase.invokeNext(ValveBase.java:242)rn at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:414)rn at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:975)rn at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:159)rn at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:977)rn at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:818)rn at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:897)rn at java.lang.Thread.run(Thread.java:534)rnrnRoot Cause:rnjava.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]End of stream was detected on a read.rn at com.microsoft.jdbc.base.BaseExceptions.createException(Unknown Source)rn at com.microsoft.jdbc.base.BaseExceptions.getException(Unknown Source)rn at com.microsoft.jdbc.sqlserver.tds.TDSRequest.processReply(Unknown Source)rn at com.microsoft.jdbc.sqlserver.SQLServerImplConnection.open(Unknown Source)rn at com.microsoft.jdbc.base.BaseConnection.getNewImplConnection(Unknown Source)rn at com.microsoft.jdbc.base.BaseConnection.open(Unknown Source)rn at com.microsoft.jdbc.base.BaseDriver.connect(Unknown Source)rn at java.sql.DriverManager.getConnection(DriverManager.java:512)rn at java.sql.DriverManager.getConnection(DriverManager.java:171)rn at ch_00031._0002fch_00031_0002fsavedata_0002ejspsavedata_jsp_9._jspService(_0002fch_00031_0002fsavedata_0002ejspsavedata_jsp_9.java:82)rn at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)rn at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:184)rn at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:328)rn at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:407)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:215)rn at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:251)rn at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:977)rn at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:196)rn at org.apache.catalina.valves.ValveBase.invokeNext(ValveBase.java:242)rn at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:242)rn at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:975)rn at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2041)rn at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:161)rn at org.apache.catalina.valves.ValveBase.invokeNext(ValveBase.java:242)rn at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:414)rn at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:975)rn at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:159)rn at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:977)rn at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:818)rn at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:897)rn at java.lang.Thread.run(Thread.java:534)rnrn
高手啊!我快疯了
我把一个web页面用WebBrowser在vb中显示出来,有没有办法获取该页面上的text的值,有的话用什么办法呢?或者不用WebBrowser,用其他的也可以
我快疯了!!帮帮我啊!!
我才开始学VC windows编程不久 前几天 我照书写了一个程序,不知怎么老是出现问题提示:rn 此项目已过期:rn 。。。。。rn 是否希望声称它?rnrn我选是,rn然后提示:发现生成错误,是否运行上次成功的运行?rnrn我选是,rnrn然后提示:无法启动程序,系统找不到指定的文件。rnrn今天我又变了一个程序,可还是这种结果,,有错你报错嘛!!rn 干嘛这么玩我啊,,,,rn我今天编的程序:rn#include "windows.h"rn#include "stdio.h"rnLRESULT CALLBACK MyWinProc(HWND,UINT,WPARAM,LPARAM);rnrnint WINAPI WinMain(rn HINSTANCE hInstance,rn HINSTANCE hPrevInstance,rn LPCSTR lpCmdLine,rn int nCmdShowrn )rnrn WINCLASSEX wincls;rn wincls.cbSize=sizeof(WINCLASSEX);rn wincls.style=CS_HREDRAW|CS_VREDRAW;rn wincls.lpfnWinProc=MyWinProc;rn wincls.cbClsExtra=0;rn wincls.cbWndExtra=0;rn wincls.hInstance=hInstance;rn wincls.hIcon=NULL;rn wincls.hCursor=loadCursor(NULL,IDC_CROSS);rn wincls.hbrBackground=(HBRUSH)(CORLOR_WINDOW+1);rn wincls.lpszClassName="MyClass";rn wincls.lpszMenuName=NULL;rnrnrn RegisterClassEX(&wincls);rnrn HWND hwnd=CreateWindow("MyClass","My First",WS_OVERLAPPEDWINDOW,200,150,600,400,NULL,NULL,hInstance,NULL);rnrn ShowWindow(hwnd,nCmdShow);rnrn UpdataWindow(hwnd);rn rn MSG msg;rnrn while(GetMessage(&msg,NULL,0,0))rn rn TraslateMessage(&msg);rnrn DispatchMessage(&msg);rn rnrn return 0;rnrnrnrnrnLRESULT CALLBACK MyWinProc(HWND hwnd,UINT message,WPARAM wParam,LPARAM lParam);rnrn switch(message)rn case WM_PAINT:rn PAINTSTRUCT ps;rn HDC hdc;rn BeginPaint(hwnd,&ps);rnrn TextOut(hdc,100,100,"hello",strlen("hello"));rnrn EndPaint(hwnd,&ps);rn break;rn case WM_DESTROY:rn PostQuitMessage(0);rn break;rn default :rn return DefWindowsProc(hwnd,message,wParam,lParam);rn rn return 0;rn
我快疯了!怎么办啊?
本来IE是无法显示TIF格式的图片的!我装了个软件(Imaging for windows),这个东西可以显示TIF格式的图片!于是我在工具箱里面添加com组件,将安装的软件里面的几个.OCX添加到工具箱里面了,工具箱里面还真多了几个东西!请问我这样就可以用这几个东西来使IE来显示TIF格式的图片了吗?rn这样可以吗?rn我都不知道这几个东西所包含的函数,以及命名空间,我怎么用它们呀?
我快疯了,难道API也有bug?
我是在处理巨型位图(4096*4096)时发现这个问题的。rn请看:rnBOOL bRet = FALSE ;rnBYTE * pBmfh = NULL ;rnHANDLE hMap = NULL ;rnHANDLE hFile = INVALID_HANDLE_VALUE ;rnrn__tryrnrn hFile = ::CreateFile (_T("c:\\Test.foo"), GENERIC_READ | GENERIC_WRITE,rn FILE_SHARE_READ, NULL, CREATE_ALWAYS,rn FILE_ATTRIBUTE_NORMAL | FILE_FLAG_SEQUENTIAL_SCAN,rn NULL) ;rn if (hFile == INVALID_HANDLE_VALUE)rn __leave ;rn hMap = ::CreateFileMapping (hFile, NULL, PAGE_READWRITE,rn 0, 1024 * 1024 * 100, NULL) ;rn if (hMap == NULL)rn __leave ;rn pBmfh = (BYTE *) ::MapViewOfFile (hMap, FILE_MAP_ALL_ACCESS, 0, 0, 0) ;rn if (pBmfh == NULL)rn __leave ;rn bRet = TRUE ;rnrn__finallyrnrn if (pBmfh != NULL) ::UnmapViewOfFile (pBmfh) ;rn if (hMap != NULL) ::CloseHandle (hMap) ;rn ::SetFilePointer (hFile, 1024 * 1024 * 80, NULL, FILE_BEGIN) ;rn ::SetEndOfFile (hFile) ; ~~~~~~~~~~~~~~~~问题rn if (hFile != INVALID_HANDLE_VALUE) ::CloseHandle (hFile) ;rnrn但文件大小不是80M而是100M(我的OS为win2000-SP2)rn而在98就没这个问题,为什么????
疯了啊! 疯了啊! 疯了啊! 疯了啊! 疯了啊! 疯了啊! 疯了啊!
(我要疯了)请教大家一个问题:rn问题:java加密和CRC校验rnrn先说加密和用java自带的CRC校验我会使用,问题是出在加密后没法校验密文的CRCrnrn详细描述遇到问题的地方:rnrnCheckedInputStream(InputStream in, Checksum cksum) :主要是这个函数的第一个参数:rnrn过程:rn 发送方:1、获取图片的Streamrn 2、计算图片的CRC 并在 流的开始 添加发送消息首部(发送消息首部包括主机信息以及图片描述等等)rn 3、将发送消息的首部和图片流加密rn 4、发送rn接收方: 1、获取加密后的流rn 2、从流的开始读取指定大小的字节rn 3、解密首部信息,获取首部大小以及crc的值rn 4、[b]问题来了[/b]这里能够准确的定位到图片字节流的开始,但是是加密的,所以用crc校验肯定是错的,而直接解密图片的流那有没办法进行CRC校验,原因就是上面那个函数,必须是一个流。我也不可能写了图片再读出来。不然就是脱了裤子打屁了。rnrn大家给个提示吧。注意CRC是未加密之前的,要是是用加密后计算CRC就没这回事的。。。。杯具啊 rnrnrn
快我快疯了~!
cirekdraw里的填充模式里YIQ是干什么的?
快疯了 ~~求大神看看这个有啥错啊~~
就是绘制cos(x)的图 为什么不对啊~~答案也是这样啊~~rn#includern#includernusing namespace std;rnint main()rn double y;rn int x,m;rn for( y = 1; y >= -1; y -= 0.1 )rn rn m = acos(y)*10;rn for(x = 1; x < m ; x++ ) rn printf("");rn printf("*");rn for(; x < 62-m; x++ )rn printf("");rn printf("*\n");rn rn system("pause");rn return 0;rn
我快疯了,真的快疯了!
我连Oracle数据库的时候出问题了,请看:rn rn Statement stm=null;rn try rn stm = conn.createStatement();rn rs = stm.executeQuery(strSql);rn rn catch (Exception e) rn e.printStackTrace();rn rn 调试后出现如下错误信息:Can not locate OracleConnection.java from project source/class pathrn conn是Connection参数,没问题。请高手告诉我这个错误怎么解决阿!
那个老大能帮快,
有没有一种软件, 一运行就知道系统有没有问题, 那儿能下载。
短信接口 快疯了 求大神帮忙
调了个短信接口 有时候能收到短信有时候收不到 这是咋回事 每次还抛异常rnrn09:03:00,661 DEBUG ConfigurationException:110 - Exception: rnorg.apache.axis.ConfigurationException: No service named SDKService is availablernorg.apache.axis.ConfigurationException: No service named SDKService is availablern at org.apache.axis.configuration.FileProvider.getService(FileProvider.java:233)rn at org.apache.axis.AxisEngine.getService(AxisEngine.java:311)rn at org.apache.axis.MessageContext.setTargetService(MessageContext.java:756)rn at org.apache.axis.client.Call.invoke(Call.java:2690)rn at org.apache.axis.client.Call.invoke(Call.java:2443)rn at org.apache.axis.client.Call.invoke(Call.java:2366)rn at org.apache.axis.client.Call.invoke(Call.java:1812)rn at kewei.sdkhttp.SDKServiceBindingStub.sendSMS(SDKServiceBindingStub.java:804)rn at kewei.timming.sender.Client.sendScheduledSMSEx(Client.java:110)rn at kewei.timming.sender.SmsSender.sendSMS(SmsSender.java:56)rn at kewei.quartz.job.SmsSenderJob.execute(SmsSenderJob.java:27)rn at org.quartz.core.JobRunShell.run(JobRunShell.java:223)rn at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:549)rnrn at org.apache.axis.configuration.FileProvider.getService(FileProvider.java:233)rn at org.apache.axis.AxisEngine.getService(AxisEngine.java:311)rn at org.apache.axis.MessageContext.setTargetService(MessageContext.java:756)rn at org.apache.axis.client.Call.invoke(Call.java:2690)rn at org.apache.axis.client.Call.invoke(Call.java:2443)rn at org.apache.axis.client.Call.invoke(Call.java:2366)rn at org.apache.axis.client.Call.invoke(Call.java:1812)rn at kewei.sdkhttp.SDKServiceBindingStub.sendSMS(SDKServiceBindingStub.java:804)rn at kewei.timming.sender.Client.sendScheduledSMSEx(Client.java:110)rn at kewei.timming.sender.SmsSender.sendSMS(SmsSender.java:56)rn at kewei.quartz.job.SmsSenderJob.execute(SmsSenderJob.java:27)rn at org.quartz.core.JobRunShell.run(JobRunShell.java:223)rn at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:549)rn09:03:00,661 DEBUG MessageContext:793 - MessageContext: setServiceHandler(null)rn09:03:00,661 DEBUG ProjectResourceBundle:72 - org.apache.axis.i18n.resource::handleGetObject(targetService)rn09:03:00,661 DEBUG Call:2715 - Target service: SDKServicern09:03:00,661 DEBUG MessageContext:749 - MessageContext: setTargetService()rn09:03:00,661 DEBUG ProjectResourceBundle:72 - org.apache.axis.i18n.resource::handleGetObject(noService10)rn09:03:00,661 DEBUG ConfigurationException:110 - Exception: rnorg.apache.axis.ConfigurationException: No service named is availablernorg.apache.axis.ConfigurationException: No service named is availablern at org.apache.axis.configuration.FileProvider.getService(FileProvider.java:233)rn at org.apache.axis.AxisEngine.getService(AxisEngine.java:311)rn at org.apache.axis.MessageContext.setTargetService(MessageContext.java:756)rn at org.apache.axis.transport.http.HTTPTransport.setupMessageContextImpl(HTTPTransport.java:89)rn at org.apache.axis.client.Transport.setupMessageContext(Transport.java:46)rn at org.apache.axis.client.Call.invoke(Call.java:2738)rn at org.apache.axis.client.Call.invoke(Call.java:2443)rn at org.apache.axis.client.Call.invoke(Call.java:2366)rn at org.apache.axis.client.Call.invoke(Call.java:1812)rn at kewei.sdkhttp.SDKServiceBindingStub.sendSMS(SDKServiceBindingStub.java:804)rn at kewei.timming.sender.Client.sendScheduledSMSEx(Client.java:110)rn at kewei.timming.sender.SmsSender.sendSMS(SmsSender.java:56)rn at kewei.quartz.job.SmsSenderJob.execute(SmsSenderJob.java:27)rn at org.quartz.core.JobRunShell.run(JobRunShell.java:223)rn at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:549)rnrn at org.apache.axis.configuration.FileProvider.getService(FileProvider.java:233)rn at org.apache.axis.AxisEngine.getService(AxisEngine.java:311)rn at org.apache.axis.MessageContext.setTargetService(MessageContext.java:756)rn at org.apache.axis.transport.http.HTTPTransport.setupMessageContextImpl(HTTPTransport.java:89)rn at org.apache.axis.client.Transport.setupMessageContext(Transport.java:46)rn at org.apache.axis.client.Call.invoke(Call.java:2738)rn at org.apache.axis.client.Call.invoke(Call.java:2443)rn at org.apache.axis.client.Call.invoke(Call.java:2366)rn at org.apache.axis.client.Call.invoke(Call.java:1812)rn at kewei.sdkhttp.SDKServiceBindingStub.sendSMS(SDKServiceBindingStub.java:804)rn at kewei.timming.sender.Client.sendScheduledSMSEx(Client.java:110)rn at kewei.timming.sender.SmsSender.sendSMS(SmsSender.java:56)rn at kewei.quartz.job.SmsSenderJob.execute(SmsSenderJob.java:27)rn at org.quartz.core.JobRunShell.run(JobRunShell.java:223)rn at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:549)rn09:03:00,661 DEBUG MessageContext:793 - MessageContext: setServiceHandler(null)rn09:03:00,661 DEBUG SOAPPart:661 - Enter: SOAPPart::getAsSOAPEnvelope()rn09:03:00,661 DEBUG ProjectResourceBundle:72 - org.apache.axis.i18n.resource::handleGetObject(currForm)
快疯了
我做的一个例子。rnMFC SDIrn我从CTreeView继承了一个类CMyTreeView,然后我在主框架里声明一个变量成员rnCMyTreeView * m_pMyTreeView,然后我调用m_pMyTreeView->Create(WS_VISIBLE | WS_TABSTOP | WS_CHILD | WS_BORDER | TVS_HASBUTTONS | TVS_LINESATROOT | TVS_HASLINES | TVS_DISABLEDRAGDROP,CRect(10, 10, 300, 100), this, 0x1005);rn编译时提示:'Create' : function does not take 4 parameters,为什么呀,明明只有四个参数嘛?另外在写到m_pMyTreeView->Create( 时,老是自动提示,SDK中的Create函数提示,而不时CTreeCtrl的成员函数Create为什么呀?
快疯了……※……
Microsoft VBScript 编译器错误 (0x800A0414)rn/saveanswer.asp, 第 6 行, 第 22 列rnrs.getitem(names,conn)rn---------------------^rnrs是我自做的activx控件对象,两个参数不能同时传进去,rn修改对象后,rs.getitem(names)或rs.getitem(conn)rn都可以成功,这是怎么回事rn
快疯了!!!!!
学习编程好枯燥!四个小时才写了一个登陆!!郁闷!!!!rn谁能谈谈他的编程心得呀rn我很喜欢编程但基础不好,断断续续学了一年了,连个完整的程序都写不下来,能看懂别人的代码,但要自己写费牛劲了!我还有出路吗?前景担忧呀!rn我搞网络,防火墙什么的都没怎么下工夫但现在也有一知半解了,但编程却没进步,我想在一步一步学谁能给点建议,我想从实践开始结合MSDN这样对吗?
快疯了!
我做期末作业时,用宏做功能模块,可是jmp\je\ja\jb指令出错"jump out of range by xx bytes",我都要疯了!helprnrn;final.asmrninclude macro.librnrnrnstudent strucrnsno db 8 dup(' ')rnsname db 6 dup(' ')rnasm db 3 dup(' ')rncm db 3 dup(' ')rnos db 3 dup(' ')rntotal db 3 dup(' ')rnrange db 3 dup(' ')rnstudent endsrnrnrnstsg segment stack 's'rn dw 32 dup(?)rnstsg endsrnrndata segmentrntitl db ' Mini-Database System',0DH,0AH,' copyright by HK,91994,BIT',0DH,0AH,0DH,0AHrnmenu1 db '1-----display',0DH,0AH ;menurnmenu2 db '2-----edit',0DH,0AH rnmenu3 db '3-----sort',0DH,0AHrnmenu4 db '4-----find',0DH,0AHrnmenu5 db '5-----save',0DH,0AHrnmenu6 db '6-----exit',0DH,0AH,'$'rnrnmenu2_1 db 0DH,0AH,'1-----insert',0DH,0AHrnmenu2_2 db '2-----modify',0DH,0AHrnmenu2_3 db '3-----delete',0DH,0AH,'$'rnrnmenu3_1 db 0DH,0AH,'1-----by asm',0DH,0AHrnmenu3_2 db '2-----by cmp',0DH,0AHrnmenu3_3 db '3-----by os',0DH,0AHrnmenu3_4 db '4-----by total',0dh,0ah,'$'rnrnpromp db 'choose a number from the menu above:',0DH,0AH,'$' rnrnitem db 0DH,0AH,0DH,0AH,'--sno-----sname---asm--cm---os--total-range----',0DH,0AH,'$'rngap db ' $'rnrnrnrnrnstudentx student 30 dup(<>)rnrnfilename db 'studentx.dat',0rnfilehandle dw ?rnrndata endsrnrnrncode segmentrnassume cs:code,ds:data,ss:stsg,es:nothingrnmain proc farrn mov ax,datarn mov ds,axrnrn lea dx,filename ;open file rn mov al,2rn mov ah,3dh rn int 21hrn mov filehandle,ax rnrn lea dx,studentx ;read data from filern mov bx,filehandlern mov cx,870 rn mov ah,3fhrn int 21hrn rnrepeat: rn mov AX,0600H ;clear screenrn mov CX,0rn mov DX,184FHrn mov BH,07rn int 10H rn rn mov AH,02 ;set cursorrn mov BH,0rn mov DX,0400Hrn int 10Hrnrn lea DX,titl ;display menu rn mov AH,9rn int 21Hrn lea DX,promprn mov AH,9rn int 21Hrnrnrdkb: ;wait for selection from menurn mov AH,1 rn int 21Hrn cmp AL,31H rn jb beeprn cmp AL,36Hrn ja beeprn cmp AL,31Hrn je display_inrn cmp AL,32Hrn je far ptr edit_inrn cmp AL,33Hrn je far ptr sort_inrn cmp AL,34Hrn je far ptr find_inrn cmp AL,35Hrn je far ptr save_inrn jmp quit rnrn rnbeep: ;beep for errorrn mov AH,14rn mov AL,7rn mov BH,0rn int 10Hrn jmp repeat rnrnquit: ;quit programrn mov ah,3ehrn mov bx,filehandlern int 21h rn mov ax,4c00hrn int 21hrnrndisplay_in:rn displayrn jmp repeatrnrnedit_in:rn editrn jmp repeatrnrnsort_in:rn sortrn jmp repeatrnrnfind_in:rn findrn jmp repeatrnrnsave_in:rn savern jmp repeat rnrninsert_in:rn insertrn jmp repeatrnrnmodify_in:rn modifyrn jmp repeat rnrndelete_in:rn deletern jmp repeatrn rnsort_by_asm_in:rn sort_by asmrn jmp repeatrn rnsort_by_cmp_in:rn sort_by cmrn jmp repeat rnrnsort_by_os_in:rn sort_by osrn jmp repeat rnrnsort_by_total_in:rn sort_by totalrn jmp repeatrnrnmain endprncode endsrnrn end main rnrn;======================rn;macro.librnrndisplay macrorn local lop1,lop2,lop3,lop4,lop5,out rn rn lea dx,itemrn mov ah,9rn int 21hrn rn lea si,studentxrnrn mov bh,30rnlop5: mov cl,8rnlop1: mov dl,[si]rn mov ah,2rn int 21hrn inc sirn rn loop lop1rn lea dx,gaprn mov ah,9rn int 21hrn rn mov cl,6rnlop2: mov dl,[si]rn mov ah,2rn int 21hrn inc si rn loop lop2rnrn lea dx,gaprn mov ah,9rn int 21hrnrn mov bl,5rnlop4: mov cl,3rnlop3: mov dl,[si]rn mov ah,2rn int 21hrn inc si rn loop lop3rn rn lea dx,gaprn mov ah,9rn int 21hrnrn dec blrn jnz lop4 rnrn mov dl,0dhrn mov ah,2rn int 21hrn mov dl,0ahrn mov ah,2rn int 21hrnrn cmp bh,8rn jne outrn mov ah,1rn int 21hrnrnout: dec bhrn jnz lop5 rn rn mov ah,1rn int 21hrn rn endmrnrnedit macrorn lea dx,menu2_1rn mov ah,9rn int 21h rn lea dx,promprn mov ah,9rn int 21h rnrn mov ah,1rn int 21hrn cmp al,31hrn jb beeprn cmp al,33hrn ja beeprn cmp al,31hrn je insert_inrn cmp al,32hrn je modify_inrn jmp delete_in rnrn mov ah,1rn int 21hrnrn endmrnrnsort macro rn lea dx,menu3_1rn mov ah,9rn int 21hrn lea dx,promprn mov ah,9rn int 21h rnrn mov ah,1rn int 21hrn cmp al,31hrn jb beeprn cmp al,33hrn ja beeprn cmp al,31hrn je sort_by_asm_inrn cmp al,32hrn je sort_by_cmp_inrn cmp al,33hrn je sort_by_os_inrn jmp sort_by_total_in rnrnrnrnrn mov ah,1rn int 21hrn endmrnrnfind macrornrnrnrn mov ah,1rn int 21hrn endmrnrnsave macrorn mov ah,42h ;put file pointer to headrn mov bx,filehandlern xor cx,cxrn xor dx,dx rnrn mov ah,40h ;write data to filern mov bx,filehandlern mov cx,870rn lea dx,studentx rnrn mov ah,1rn int 21hrn endmrnrninsert macrornrnrn mov ah,1rn int 21hrn endmrnrnmodify macrornrn rn mov ah,1rn int 21hrn endmrnrndelete macrornrnrnrn mov ah,1rn int 21hrn endm rnrnsort_by macro itemrnrn mov ah,1rn int 21hrn endmrnrnrn
要疯了,快来人啊。。求救啊!
我用的MyEclipse10,配置好了tomocat7.0和jdk1.8,然后创建了个dynamic web project,然后在里面创建了jsp运行正常,又在里面的src文件下创建了个servlet,不管怎么弄,都是404,我在console里面看到了这个The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path。来个大神解救啊,纠结在这里半天了。
那位大虾能告诉我!!!!!我快疯了!!!!!!
我用的是windows 2000 server.今天我突然发现我在Dreamweaver中按F12御览网页的时候,机子突然变得奇慢无比。网页怎么都打不开了!!!我在任务管理器中看到一个叫inetinfo.exe的程序占了cpu将近100%.而我以前运行的时候都是好好的。rn一按F12就能御览了!!rnrn那位大虾能告诉我????多谢指点。我已经快崩溃了!!!rn谢谢!!!!!
快来看啊,Delphi6的BUG
“N“类型的字段在保存到数据库的时候会把所有的空格都保存进去rn 比如说一个Nvarchar类型的长度为50,我们如果输入‘备注’rn(注意,在输入的时候我们已经把后面的空格删掉)但保存到数据库的时候他是rn保存‘备注 ‘,后面是46个空格,在显示出来的时候(在dbgrid显示)rn也是显示了一大堆空格rn当我们点击选中的时候跟本看不到前面的字,只看到后面一大堆空格rn查了一大堆资料,问题基本上非常严重啊。rn各位老大帮帮忙了rnrn"N"类型的空格问题是Delphi的Midas的一个BUG?查了资料,如下rnrnArea: database\adornReference Number: 71908 rnrnStatus: Open rnDate Reported: 9/28/99rnrnSeverity: Commonly EncounteredrnrnType: Minor Functionality FailurernrnProblem:rnrnParameterized INSERT or UPDATE queries may rncause VARCHAR fields to be stored with trailing rnspaces. Primarily occurs updating through Midas.rnrnWorkaround:rnrnIf using SQL Server, modify the table so that it is rncreated with ANSI_PADDING set to OFF.rnrnrn如果是其他类型或许可以设置 ANSI_PADDING 为OFFrn但查了SQL的帮助 rnrnnchar、nvarchar 和 ntext 列始终显示 SET ANSI_PADDING ON 行为,rn与 SET ANSI_PADDING 的当前设置无关。rnrnrn
求个二分查找的例子,我快疯了!!
看了几天那书上的例子一点头绪也没有,那例子上还没有解释。rnrn谁能给我个例子(最好有解释),求....rnrn我分不多,就只能给这点了
我快疯了,快帮帮我!
我用的是网通上网,今天突然发现网页打不开,无法显示。而我的QQ却能上,不知为什么?把IE的历史记录删除了也没用!请各位高手帮忙!
快帮忙!!我快疯了!!!
我想实现这样的功能:rn datagrid显示查询结果后,能再在结果中选出若干行,显示出来,代码如下:rnrnDataTable dtReport = new DataTable(dtInitial.TableName);//dtInitial是原始的datatable rnDataColumn mycol;rnforeach(DataColumn col in dtInitial.Columns)rnrn mycol = new DataColumn();rn mycol.ColumnName = col.ColumnName;rn mycol.DataType = col.DataType;rn dtReport.Columns.Add(mycol);rnrnstring strSelect = "columnname DESC";//排序的条件rnDataRow[] drTemp = dtInitial.Select("",strSelect);rnDataRow mydr;rnint iRowNum = System.Convert.ToInt32(this.comboBox4.Text);//iRowNum是用户要查看的行数rnfor(int i=0;i
快疯了,谁能救救我啊.
<%do while not rs.eofrn dim snsn,usernamern set snsn=server.CreateObject("adodb.recordset")rn snsn.open "select username from [shop_user] where [userid]="&rs("userid"),conn,1,1-------第151行.rn snsn.closern set snsn=nothingrn %>rnrnrnrnrn错误类型:rnADODB.Recordset (0x800A0CC1)rn在对应所需名称或序数的集合中,未找到项目。rn/adminn/editdingdan.asp, 第 151 行rnrn试了好久,真不知道怎么办好了.rnrn只等高手救人了.
救我啊,研究了一下午,快疯了!
刚到新公司,搞pb,以前没玩过这几天快疯了rn向大家请教一个问题,怎么把文本筐里的输入数据当做datawindows的查询条件啊rnrnrnstring start_date,end_daternstring conditionsrnif em_1.text="" or em_2.text="" then //em_1和em_2是2个文本筐,接受日期rn messagebox("注意","你时间段不能为空!") rnend ifrnstar_date=em1.textrnend_date=date(em_2.text)rn rn// conditions="t_boxbase_qzrq between start_date and end_date "rndw_1.setfilter(conditions) //dw_1为datawindows控件rndw_1.filter()rn上面是我“蒙”的代码,查询不了啊!rnrn我需要通过接收的2个日期来查询t_boxbase表中qzrq(日期)在这中间的所以记录rn我知道这个问题很菜,但也希望大家帮助我,小公司,就让我一个人搞pb,问都没地方问,我快疯了!
快疯了,各位大侠救命啊!
linux系统下oracle 8i,connect internal后提示连接成功.再打入startup报告"ORA-01031; insufficient privileges"的错误,打入shutdown报告"ORA-01012; not logged on",如果再外面用sqlplus登陆会告诉我oracle还没有初始化的错误,倒底怎么会事情啊,谢了!
快疯了!各位高手!谁来帮帮我啊!
Warning: fsockopen() [function.fsockopen]: php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution in /usr/local/apache2/htdocs/mail/class.smtp.php on line 122rnrnWarning: fsockopen() [function.fsockopen]: unable to connect to smtp.163.com:25 (Unknown error) in /usr/local/apache2/htdocs/mail/class.smtp.php on line 122rn以前也遇到过,尝试过很久,最后不得已用ip代替了域名才解决rn可是冤家路窄 就是躲不起 这次用phpmailer又遇到了这个问题 rn顺便还发现 fopen file_get_contents 在本地打开远程都没问题,可是已提交到服务器就不行。rn服务器的机器配置与本地机器配置一样的 rnfc4 rnphp5.2.3 rnallow_url_fopen Onrnrn在网上又找了一天了 还是没什么进展 哪位大哥帮帮忙啊rn只有10分 希望别嫌太少了
郁闷很久的问题,快逼疯了啊
HTTP Status 500 - /index.jsp(3,66) Unable to read TLD "META-INF/tlds/struts-bean.tld" from JAR file "file:/D:/Program%20Files%20(x86)/Apache%20Software%20Foundation/apache-tomcat-6.0.36/webapps/crm/WEB-INF/lib/struts.jar": org.apache.jasper.JasperException: Failed to load or instantiate TagExtraInfo class: org.apache.struts.taglib.bean.CookieTeirnrntype Exception reportrnrnmessage /index.jsp(3,66) Unable to read TLD "META-INF/tlds/struts-bean.tld" from JAR file "file:/D:/Program%20Files%20(x86)/Apache%20Software%20Foundation/apache-tomcat-6.0.36/webapps/crm/WEB-INF/lib/struts.jar": org.apache.jasper.JasperException: Failed to load or instantiate TagExtraInfo class: org.apache.struts.taglib.bean.CookieTeirnrndescription The server encountered an internal error that prevented it from fulfilling this request.rnrnexception rnrnorg.apache.jasper.JasperException: /index.jsp(3,66) Unable to read TLD "META-INF/tlds/struts-bean.tld" from JAR file "file:/D:/Program%20Files%20(x86)/Apache%20Software%20Foundation/apache-tomcat-6.0.36/webapps/crm/WEB-INF/lib/struts.jar": org.apache.jasper.JasperException: Failed to load or instantiate TagExtraInfo class: org.apache.struts.taglib.bean.CookieTeirn org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:40)rn org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:407)rn org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:218)rn org.apache.jasper.compiler.TagLibraryInfoImpl.(TagLibraryInfoImpl.java:183)rn org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:386)rn org.apache.jasper.compiler.Parser.parseDirective(Parser.java:450)rn org.apache.jasper.compiler.Parser.parseElements(Parser.java:1399)rn org.apache.jasper.compiler.Parser.parse(Parser.java:130)rn org.apache.jasper.compiler.ParserController.doParse(ParserController.java:255)rn org.apache.jasper.compiler.ParserController.parse(ParserController.java:103)rn org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:185)rn org.apache.jasper.compiler.Compiler.compile(Compiler.java:354)rn org.apache.jasper.compiler.Compiler.compile(Compiler.java:334)rn org.apache.jasper.compiler.Compiler.compile(Compiler.java:321)rn org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:592)rn org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:328)rnrn网上普遍的说法都是删除工程下jsp-api.jar和servlet-api.jarrn可是项目运行需要这两个文件,删除之后tomcat启动会包错,删除tomcat下的这两个文件也起不来。rn很是郁闷啊!rn之前用tomcat5.5,启动tomcat显示ora-12505错误,localhost:1521:xe,可是项目明明写的是localhost:1521:orclrn换tomcat6.0之后倒是可以启动,只是无法访问项目。rn各位大侠帮帮忙吧!
快疯了 ,怎么计算个人水电费啊?
A表统计各宿舍住宿人员名单,包括宿舍编号(NUMBER)、人员编号(NUM)、入住日期(INDATE)等;rnB表统计各宿舍水电费用,包括宿舍编号(NUMBER)、超额费用(没超为0,有的宿舍超额使用就须缴超额费)rn现要计算个人水电费(入住时间不同费用也不一样,就这头疼,共产主义平均分配多好)
我都快疯了!!!这是怎么回事啊
public partial class foum : System.Web.UI.Pagernrn SqlConnection sms_conn;rn string aa;rn rn protected void Page_Load(object sender, EventArgs e)rn rn rn rn aa = Request.QueryString["id"].ToString();rnrn qqq(aa);rnrn rn rnrnrn void qqq(string ppp)rnrn rn string sms_connstr = System.Configuration.ConfigurationManager.AppSettings["sms_dbconn"]; //建立连接rn sms_conn = new SqlConnection(sms_connstr);rn string sqlstr = "select * from message where id='" + ppp+ "'";rn SqlCommand cmd = new SqlCommand(sqlstr, sms_conn);rn sms_conn.Open();rn SqlDataReader dr = cmd.ExecuteReader();rn if (dr.Read() == true) rn rn Literal1.Text = dr["author"].ToString().Trim();rn Literal2.Text = dr["senddate"].ToString().Trim();rn TextBox1.Text = dr["reply"].ToString().Trim();rn Literal3.Text = dr["sendcontent"].ToString().Trim();rn sms_conn.Close();rn sms_conn.Dispose();rn rn elsern rn sms_conn.Close();rn Response.Write("hello");rn rnrnrn rn protected void ImageButton1_Click1(object sender, ImageClickEventArgs e)rn rnrn string sms_connstr1 = System.Configuration.ConfigurationManager.AppSettings["sms_dbconn"]; //建立连接rn SqlConnection sms_conn1;rn sms_conn1 = new SqlConnection(sms_connstr1);rnrn string sqlstr1 = "update message set reply='" + TextBox1.Text + "' where id='" + aa + "'";rn SqlCommand cmd = new SqlCommand(sqlstr1, sms_conn1);rn sms_conn1.Open();rn tryrn rn cmd.ExecuteNonQuery();rn sms_conn1.Close();rn Response.Write(" ");rnrnrn rnrn catchrn rn sms_conn1.Close();rn Response.Write("hello");rn rnrn rnrnrn我从另外一个网页传了一个id, 现在在当前页面根据id查询数据库,现在页面加载正常,可是当我ImageButton1_Click1时,进行更新,可是 程序怎么又重新从 protected void Page_Load()的地方运行啊,,而不是从我的ImageButton1_Click1()事件中运行啊 rnrnrn这简直不符合逻辑啊
我快疯了,大家帮帮我啊!!
没重装系统前jar程序都可以成功运行。重装了系统后,结果jar程序一律打不开。说什么找不到main class.我都弄了两天了,救救我啊!
一重新生成就出错啊!!快疯了
现在在一个工程里面有一个ascx 和一个同名的 cs 文件rnrnascx 头里面也标注了 CodeFile 是这个同名的cs文件rnrn然后在ascx的页面上有个asp:Literal的控件rnrn我想在cs文件里面修改他的text来动态显示点东西。rnrn在cs文件里面的Page_Load写这个asp:Literal的id识别rnrn可是在Page_Load里面调用的别的函数里面写这个id 调试的时候就不识别。rnrn可是这个工程别人跑的起来。是设置还是什么之类的原因啊~~求助rn[code=HTML]rn rn rnrn[/code]rn[code=C#]rn IAccountHelper AccountHelper = AccountFactory.CreateInstance();rnrn /// rn /// 页面加载rn /// rn /// rn /// rn protected void Page_Load(object sender, EventArgs e)rn rn this.books.Text = " booklists)rn rn this.books.Text = " "; //这里是我加的,显示正常rn ShowBookList(AccountHelper.GetBookList(Security.CurrentAccountID));rn rnrn void ShowBookList(List ";// 别人那里正常,我这里这个函数里面的都报错rnrn if (booklists.Count != 0)rn rn for (int i = 0; i < booklists.Count; i++)rn rn this.books.Text = this.books.Text + " " + booklists[i].BookTitle + " " + booklists[i].BookContent + " " + booklists[i].BookPlace + "";rn rn rn this.books.Text = this.books.Text + "";rn rn[/code]rnrn--------------------------------------------------------------rnrn哭死啊。现在写里面也没用了。怎么办啊。。。。知道的大大说下不rn+++++++++++++++++++++++++++++++++++++++++++++rn这样rn[img=http://ww3.sinaimg.cn/large/82e9fa67jw1dk1f8vlykjj.jpg][/img]rn却这样rn[img=http://ww1.sinaimg.cn/large/82e9fa67jw1dk1f96wnxuj.jpg]http://ww1.sinaimg.cn/large/82e9fa67jw1dk1f96wnxuj.jpg[/img]rnrn一重新生成就变成下面的但是敲代码的时候 都没错。。。。。。rn
高人,救命啊,我快疯了
我刚学C,准备过计算机等级考试,发现C好难啊,有个问题不知道该怎么做,请教各位。rn题目是:rn如果一段字符串,如果里面含有字母o,则字母o前后内容倒置,没有o则原样输出rn比如输入 wo ai china,则结果应该是: ai china,owrn没有的话,就原样输出~rn多谢了
c# 下如何做哈哈镜效果啊,快疯了
如题,求高人帮忙,最好有c#的代码。
实在 想不到啊!! 快疯了!!啊啊啊啊啊
程序是求两个数的最大公约数和最小公倍数!要求用函数的知识求!rn然后就编这个[code=c]# include rnrnmain ()rnrn int gcd(int a, int b), gbs(int a, int b, int c);rn rn int m, n, x, y;rn printf ("请输入两个数m和n:");rn scanf ("%d, %d", &m, &n);rnrn x = gcd (m, n);rn y = gbs (m, n, x);rn printf ("最大公约数:%d, 最小公倍数:%d\n", x, y);rn return 0;rnrnrn gcd (int a, int b)rn rn int t;//temp 零时工rn while (b)rn rn t = a%b;rn a = b;rn b = t;rn return a;rn rn rn gbs (int a, int b, int c)rnrn rn int d;rn d = a * b/c;rn return (d);rnrnrn[/code]rn但又错了! 错误代码!rn syntax error : missing ';' before ''rnrn啊啊啊啊都想一整天了!快疯了!
快疯了,高手帮帮忙,救命啊
在Win2000SP4下用Detours拦截CreateProcessA和CreateProcessW,然后对新产生的进程用ContinueProcessWithDll注入DLL,拦截CreateProcessA正常,但拦截到CreateProcessW就总是报"0x00000000"指令引用的"0x00000000"内存不能为"read"。为什么?快疯了,好多天没睡好,高手帮帮忙啊rnrn代码如下:rnrnBOOL __stdcall Mine_CreateProcessW(LPCWSTR a0,LPWSTR a1,LPSECURITY_ATTRIBUTES a2,LPSECURITY_ATTRIBUTES a3,BOOL a4,DWORD a5,LPVOID a6,LPCWSTR a7,struct _STARTUPINFOW* a8,LPPROCESS_INFORMATION a9)rnrn BOOL rv = 0;rn try rn rn rv = Real_CreateProcessW(a0, a1, a2, a3, a4, a5, a6, a7, a8, a9);rn if (rv)rn rn BOOL re = ContinueProcessWithDll(a9->hProcess,"c:\\aa.dll");//就是这句一直报内存错误,CreateProcessA中正常!!!!!rn rn rn catch(...)rn rn printf("Real_CreateProcessW Exception.");rn rn return rv;rn

相似问题

1
kernel:BUG: soft lockup - CPU#141 stuck for 21s!
1
求大神指导一下,手机网络数据无法连接的BUG。
1
求大神解释xterm.js搭建远程webssh时没有滚动条!该如何解决
3
findBug找出来的bug是英文提示 能不能改成中文提示 哪位大神有解决方案啊 (eclipse)
10
想做一个相册只要前端的就可以,希望大神能给提供一个现成的
2
FastDFS大文件上传很慢(1G左右),求各位大神给个优化思路,能有解决方案更好!!!!
4
各位大神,请教一个整合工具的方法问题
1
sftp遇到的一个bug,报错,急求大神解决
2
easyui源码自带的today bug怎么修复?
3
H5下拉刷新,上拉加载的bug,求大神帮忙解决。
1
想用python画一个类似热图但是其中标有数字并有colorbar的图,论坛的大神能不能给个思路啊
1
用STM32控制ESP8266发送http请求把数据发送给自己的服务器,有大神能指导一下吗?
3
远程虚拟机安装了android studio遇到 no USB devices 问题。求大神指教!
3
找VS2013+opencv3的大神求助?老问题快崩溃了
6
遇到一个bug解决不了了,求大神帮忙
2
java远程连接windows服务器
2
在校园网下无法远程连接同一网段的电脑
3
Vue从一个页面跳转到一个页面 在返回,第一个页面的js无法使用了,这是为什么 求大神指教
3
各位大神,现有个项目类似请假流程这种, 给点思路
1
qt项目编译时疯狂报错,求大神帮忙。