wpf button按钮设置IsMouseOver和IsPressed触发器出现令牌无效的错误,代码如下 [问题点数:20分]

Bbs1
本版专家分:0
结帖率 0%
Bbs7
本版专家分:27431
Blank
金牌 2019年7月 总版技术专家分月排行榜第一
2019年5月 总版技术专家分月排行榜第一
2019年4月 总版技术专家分月排行榜第一
Blank
银牌 2019年6月 总版技术专家分月排行榜第二
2019年3月 总版技术专家分月排行榜第二
Blank
红花 2019年7月 .NET技术大版内专家分月排行榜第一
2019年6月 .NET技术大版内专家分月排行榜第一
2019年5月 .NET技术大版内专家分月排行榜第一
2019年4月 C/C++大版内专家分月排行榜第一
2019年4月 .NET技术大版内专家分月排行榜第一
2019年3月 .NET技术大版内专家分月排行榜第一
Blank
蓝花 2019年7月 C/C++大版内专家分月排行榜第三
wpf 按钮设置触发器 IsMouseOverIsPressed无效。初学wpf,求大神指教一下~!~
程序如下:rn rn rn rn
WPF中Button 按钮IsPressed 触发 background 属性无效
mouseover 可以成功修改 <em>button</em>的background。但是按下<em>按钮</em>的时候就background修改失败了rnrn第一:ispressed触发是成功作用的。是background没有被正确修改样式rn第二:<em>button</em> 按下的时候background就变白了。我想问题是出在这里。rnrn求在按下<em>按钮</em>的时候如何正确的修改<em>button</em> 的background
wpf datagrid间隔色+IsMouseOver触发器变色无效
[code=html]rn rn rn rn rn rn rn rnrn rn rn rn rn rn rn[/code]rn后台<em>代码</em>rn[code=csharp]rnprivate void dataGrid1_LoadingRow(object sender, DataGridRowEventArgs e)rn rn DataGridRow row = e.Row;rn dataGrid1.AlternationCount = 2;rn //CommandResultInfo dataRow = e.Row.Item as CommandResultInfo;rn if (row.AlternationIndex == 1)rn rn row.Background = Brushes.Lavender;rn rn rn[/code]rnrn运行后rn rn rn[color=#FF0000]<em>代码</em>在有执行了row.Background = Brushes.Lavender;的行中<em>无效</em>[/color]rn原因不明,怎么解决
IsMouseOver触发器问题
[size=13px]我写了一个窗口模版和一个<em>按钮</em>模版,<em>按钮</em>模版是要添加到窗口模版里的,是一个关闭<em>按钮</em>,现在有个问题:rn我给两个窗口都应用了窗口模版,一个是主窗口,一个是对话框。然后我打开对话框时,把鼠标移到关闭<em>按钮</em>上后,<em>IsMouseOver</em>会被触发,然后<em>按钮</em>显示红色,到目前为止都是正确的,然后问题来了,此时把鼠标从关闭<em>按钮</em>上移到主窗口区域时(按道理,我把鼠标移到关闭<em>按钮</em>外时,关闭<em>按钮</em>应该会恢复原来的颜色),关闭<em>按钮</em>依然是红色的,也就是说系统判断鼠标还在关闭<em>按钮</em>上,这我就不能理解了。rnrn总的一句话:对话框与主窗口重叠时,把鼠标从对话框的关闭<em>按钮</em>上移到主窗口区域时,关闭<em>按钮</em>依然显示鼠标悬停的效果。下面是动画演示:rnrn[img=https://img-bbs.csdn.net/upload/201608/01/1470019037_32190.gif][/img]rnrn项目下载地址:https://yunpan.cn/c6rMzIH9pr4Zx 访问密码 ff3e[/size]
wpf如何给button设置图片触发器
最近做一个<em>wpf</em>的页面,需要对<em>button</em>重新进行定义,我就做了如下定义rnrn rn rn针对一个单个的<em>button</em>这样就ok了,但是如果在<em>button</em>里面再自定义一个background,如下rnrn rn rn rn rn则该<em>按钮</em>的触发事件就不起作用了,只能在程序样式里面自己去定义么?rn如果我有10个<em>按钮</em>,每一个<em>按钮</em>的image都不一样的话,我是不是要写10个样式?rn如果我需要那种在<em>按钮</em>上<em>设置</em>两个值,如img1="aa.jpg" img2="bb.jpg",然后让这两个值分别作为<em>按钮</em>的<em>触发器</em>的背景的话rn是不是要写自定义控件?rn
WPF,这个触发器为什么无效
[code=html]rnrn rn rn rn rn rn rnrn[/code]rnrn在上面的<em>代码</em>中,Button样式中,控件模板中有两个<em>触发器</em>,一个是<em>IsPressed</em>,一个是<em>IsMouseOver</em>。可是,当鼠标按下Button之后,背景色并没有变成蓝色。rn如果取消<em>IsMouseOver</em><em>触发器</em>,按下Button背景色就会变成蓝色,这是什么原因呢?
wpf触发器无效的原因
想实现的效果,选中定制任务后,定制属性控件显示。rnrn这个是<em>代码</em>:rn[code=csharp] rn rn rn rn rn rnrn rn rn rn rn rn rn rn rn rn rn rn rn [/code]rnrn测试发现没有报绑定<em>错误</em>,但是<em>触发器</em>就是不起作用。
wpf button的style 设置
我要在 <em>wpf</em> 实现这样的一个功能:rnrn1.MainWindow的背景是红色, 在window中间有一个<em>按钮</em>rnClickrnrn因为<em>设置</em>了<em>button</em>的Opacity为1, 所以中间 40X40的那一块是白色了而不是底色红色,Click的string 仍然为黑色,rn我想实现的效果是 <em>button</em>的背景是 window的背景, 并且click能正常显示出来(<em>设置</em>Opacity="0"的时候 click不能显示出来)。rn注: 红色只是发帖描述方便些, 实际上 Mainwindow的背景是一个完整的图片。rnrn2. 当我按下 <em>按钮</em>的时候,<em>按钮</em>会显示成白色, 我该如何让<em>按钮</em>显示 其他颜色了。。。。。rnrnrn这个问题我查找了很多资料也没有头绪, 希望有人能给我一些资料,告诉我一下我该如何学习。rn谢谢了
wpf border 设置触发器
-
Button按钮突然单击无效
想实现按班级名称查询班级信息的功能,btnSearch开始单击挺正常,后来单击没反应,各种调试,新建<em>按钮</em>都<em>无效</em>,求高手指点?rn[img=http://C:\Documents and Settings\Administrator\桌面\66.png][/img]rn[code=C#]rn private void btnSearch_Click(object sender, EventArgs e)rn rn //获取待搜索的信息rn string name = txtClassName.Text.Trim();rn //连接Sql server 数据库rn SqlConnection con = new SqlConnection("Data Source=.;Initial Catalog=gsInfo;Integrated Security=True");rn string sql = String.Format("select * from T_classInfo where 班级名称='0' ", name);rn tryrn rn con.Open();//打开与数据库的链接rn SqlCommand cmd = new SqlCommand(sql, con);//定义Command对象rn SqlDataReader reader = cmd.ExecuteReader();rn //string className = reader.GetString(reader.GetOrdinal("班级名称"));rn if (reader.Read())rn rn string classShortName = reader.GetString(reader.GetOrdinal("班级简称"));rn string grade = reader.GetString(reader.GetOrdinal("年级"));rn string classNo = reader.GetString(reader.GetOrdinal("班级编号"));rn string classNumber = reader.GetString(reader.GetOrdinal("人数"));rn string teacher = reader.GetString(reader.GetOrdinal("辅导员"));rn txbClassName.Text = name;rn txbShortName.Text = classShortName;rn txbGrade.Text = grade;rn txbClassNumber.Text = classNo;rn txbNo.Text = classNumber;rn txbTeacher.Text = teacher;rn rn rn catch (Exception ex)rn rn MessageBox.Show(ex.ToString());rn rn finallyrn rn con.Close();rn rn[/code]
button按钮出现的问题~~
在<em>button</em><em>按钮</em>换成图片<em>按钮</em>,asp.net竟然不支持。rnasp:rn这样完全可以,而在asp.net中rnaspx:rn竟然出错~~,说<em>button</em>类不支持img属性。rnrn
Button按钮圆角的设置:
shape.xml xmlversion="1.0"encoding="UTF-8"?> xmlns:android="http://schemas.android.com/apk/res/android" android:shape="rectangle">                                                androi
设置“分发服务器”时出现如下错误
“192.168.1.1”上的SQL Server代理当前在使用系统账户,它会导致服务器之间的复制失败。在下列对话框中,为服务启动账户另外指定一个账户rnrn我要怎么做?如何<em>设置</em>”分发服务器“
与数据库连接出现“未将对象引用设置到对象的实例”的错误代码如下
Public dbConnection As New OleDbConnection()rn Public dbAdapter As New OleDbDataAdapter()rn Public DateSet As New DataSet()rnrn Private Sub MainWnd_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Loadrn dbConnection.ConnectionString = ("Provider=SQLOLEDB.1;User ID=abc;Initial Catalog=database;Data Source=Localhost;Password=")rn dbConnection.Open()rnrn dbAdapter.SelectCommand.Connection = dbConnection /*这行出错*/rnrn dbAdapter.SelectCommand.CommandText = "select * from OutInvoice " & " order by sn"rn dbAdapter.SelectCommand.CommandType = CommandType.Textrn dbAdapter.SelectCommand.ExecuteNonQuery()rn dbAdapter.Fill(DateSet)rn DataGrid1.DataSource = DateSetrn End Sub
WPF 如果设置 Button 的快捷键??
WPF 如果<em>设置</em> Button 的快捷键??
代码如下,出现“from 子句错误”,??
rnDim DB As ADODB.ConnectionrnDim RS As ADODB.RecordsetrnrnPrivate Sub cmdCancel_Click()rnMe.HidernEnd SubrnrnPrivate Sub cmdOK_Click()rnDim str As Stringrnstr = "select * from user where username='" & txtUserName.Text _rn& "and userpass='" & txtPassword & "'"rnSet con = New ADODB.Connectionrn Set RS = New ADODB.Recordsetrn con.Provider = "Microsoft.Jet.OLEDB.4.0"rn con.Open App.Path & "\data\User.MDB"rn RS.Open str, con, adOpenDynamic, adLockOptimisticrn rn If RS.EOF And RS.BOF Thenrn MsgBox "密码<em>错误</em>,再试一次!", , "登录"rn txtPassword.SetFocusrn txtPassword.SelStart = 0rn txtPassword.SelLength = Len(txtPassword.Text)rn Elsern MainFrm.Showrn Me.Hidern End IfrnEnd Subrnrn
为什么出现如下的错误?
在用asp调用sql server的时候,同<em>出现</em>以下<em>错误</em>:rnCurrent Recordset does not support updating. This may be a limitation of the provider, or of the selected locktype. rn请问是什么原因?
BoundsChecker出现如下错误!
在debug窗口不停的出rnFirst-chance exception in Engine.exe (KERNEL32.DLL): 0xC0000005: Access Violationrnrn是什么意思,程序跑一会就出错rnDAMAGE: after Normal block (#4521) at 0x00D88AD8.
运行下面代码出现如下错误------帮帮忙
rnrnrnrn 报表rnrnrn 报表rn rn rn 用户名rn 真实姓名rn 性别rnrnrn rn rn rn rnrnrnrnrnrnrnrnrn想调用wordrn<em>出现</em>如下<em>错误</em>:rnno pilot found for application/msword;charset=gb2312
iis出现如下错误
您无权查看该网页 rn您可能没有权限用您提供的凭据查看此目录或网页。 rnrn--------------------------------------------------------------------------------rnrn如果您确信能够查看该目录或网页,请尝试使用 localhost 主页上所列的电子邮件地址或电话与网站联系。rnrn可以单击搜索,寻找 Internet 上的信息。rnrnrnrnrnHTTP <em>错误</em> 403 - 禁止访问 rnInternet Explorer rn
tomcat出现了如下错误
当作为response传递参数时,接受得页面发生unsupported chasrset 8859-1,该如何解决
头文件出现如下错误
[code=C/C++]rn#if _WIN32_WINNT < 0x0403rn#error This file requires _WIN32_WINNT to be #defined at least to 0x0403. Value 0x0501 or higher is recommended.rn#endifrn[/code]rn[color=#FF0000]编译的过程中:<em>出现</em>如下<em>错误</em>(报错位置为上述第二行):rnfatal error C1189: #error : This file requires _WIN32_WINNT to be #defined at least to 0x0403. Value 0x0501 or higher is recommended.[/color]rn网上说在stdafx.h中修改相应的地方。但我的工程里没有stdafx文件。rn请问如何解决???[/color]rn说明:这个工程是DirectShow中的wavdest音频捕捉的例子
2000server出现如下错误
用事件察看器察看到如下<em>错误</em>:rnWMI ADAP 未能连接到名称空间 \\.\root\cimv2\MS_404,<em>错误</em>如下: 0x8004100e rnrn怎么办?
运行出现如下错误
import java.awt.Color;rnimport java.io.*; rnimport java.util.ArrayList;rnimport java.util.List;rnrnimport org.jfree.data.*; rnimport org.jfree.chart.*; rnimport org.jfree.chart.plot.*; rnimport org.jfree.chart.renderer.category.BarRenderer3D;rnimport org.jfree.data.category.CategoryDataset;rnimport org.jfree.data.category.DefaultCategoryDataset;rnimport org.jfree.chart.demo.BarChartDemo1;rnrn rnrnpublic class JFreeBarChartDemo rnrnrn public static void main(String[] args) throws IOExceptionrn //第一步:<em>设置</em>数据源 rn CategoryDataset dataset = getDataSet2(); rn //第二步:生成jfreechart图形rn JFreeChart chart = ChartFactory.createBarChart3D( rn "水果产量图", // 图表标题 rn "水果", // 目录轴的显示标签 rn "产量", // 数值轴的显示标签 rn dataset, // 数据集 rn PlotOrientation.VERTICAL, // 图表方向:水平、垂直 rn true, // 是否显示图例(对于简单的柱状图必须是false) rn false, // 是否生成工具 rn false // 是否生成URL链接 rn ); rn // 第三步:生成装载图形的特殊面板 [Jv5kl_Q rn chart.setTitle("这里<em>设置</em>标题"); rn CategoryPlot plot = chart.getCategoryPlot();rn //<em>设置</em>颜色rnrn BarRenderer3D renderer = new BarRenderer3D();rn renderer.setSeriesPaint(0, Color.green);rn renderer.setSeriesPaint(1, new Color(0, 100, 255));rn renderer.setSeriesPaint(2, Color.RED); plot.setRenderer(renderer);rnrn rn FileOutputStream fos_jpg = null; rn try rn fos_jpg = new FileOutputStream("D:\fruit.jpg"); rn ChartUtilities.writeChartAsJPEG(fos_jpg,1,chart,400,300,null); rn finally rn try rn fos_jpg.close(); rn catch (Exception e) rn rn rn rn private static CategoryDataset getDataSet() rn DefaultCategoryDataset dataset = new DefaultCategoryDataset(); rn dataset.addValue(100, null, "苹果"); rn dataset.addValue(200, null, "梨子"); rn dataset.addValue(300, null, "葡萄"); rn dataset.addValue(400, null, "香蕉"); rn dataset.addValue(500, null, "荔枝"); rn return dataset; rn rn rn private static CategoryDataset getDataSet2() rn DefaultCategoryDataset dataset = new DefaultCategoryDataset();rn rnrn dataset.addValue(100, "北京", "苹果"); rn dataset.addValue(100, "上海", "苹果"); rn dataset.addValue(100, "广州", "苹果"); rn dataset.addValue(200, "北京", "梨子"); rn dataset.addValue(200, "上海", "梨子"); rn dataset.addValue(200, "广州", "梨子"); rn dataset.addValue(300, "北京", "葡萄"); rn dataset.addValue(300, "上海", "葡萄"); rn dataset.addValue(300, "广州", "葡萄"); rn dataset.addValue(400, "北京", "香蕉"); rn dataset.addValue(400, "上海", "香蕉"); rn dataset.addValue(400, "广州", "香蕉"); rn dataset.addValue(500, "北京", "荔枝"); rn dataset.addValue(500, "上海", "荔枝"); rn dataset.addValue(500, "广州", "荔枝"); rn return dataset; rn rn rn rn rnrnrn运行<em>出现</em>下面<em>错误</em>:rnException in thread "main"java.io.FileNotFoundException:D:fruit.jpgrnat java.io.FileOutputStream.openrnat java.io.FileOutputStream.rnat java.io.FileOutputStream.rnat JFreeBarChartDemo.main< JFreeBarChartDemo.java:46>
为什么出现如下错误....
“/WebForms”应用程序中的服务器<em>错误</em>。rn--------------------------------------------------------------------------------rnrn未将对象引用<em>设置</em>到对象的实例。 rn说明: 执行当前 Web 请求期间,<em>出现</em>未处理的异常。请检查堆栈跟踪信息,以了解有关该<em>错误</em>以及<em>代码</em>中导致<em>错误</em>的出处的详细信息。 rnrn异常详细信息: System.NullReferenceException: 未将对象引用<em>设置</em>到对象的实例。rnrn源<em>错误</em>: rnrn执行当前 Web 请求期间生成了未处理的异常。可以使用下面的异常堆栈跟踪信息确定有关异常原因和发生位置的信息。 rnrn堆栈跟踪: rnrnrn[NullReferenceException: 未将对象引用<em>设置</em>到对象的实例。]rn CrystalDecisions.Web..get_7() +189rn CrystalDecisions.Web.CrystalReportViewer.OnInit(EventArgs e) +352rn System.Web.UI.Control.InitRecursive(Control namingContainer) +234rn System.Web.UI.Control.InitRecursive(Control namingContainer) +178rn System.Web.UI.Control.InitRecursive(Control namingContainer) +178rn System.Web.UI.Page.ProcessRequestMain() +171rnrn rnrnrn--------------------------------------------------------------------------------rn版本信息: Microsoft .NET 框架版本:1.0.3705.288; ASP.NET 版本:1.0.3705.288
thinkphp+apache+windows2003出现如下错误
rnthinkphp+apache+windows2003<em>出现</em>如下<em>错误</em>,之前我用的一个vps是好的rnrnWarning: Unknown: failed to open stream: Permission denied in Unknown on line 0rnrnFatal error: Unknown: Failed opening required 'C:/xampp/htdocs/taoke/index.php' (include_path='.;C:\xampp\php\PEAR') in Unknown on line 0rnrn求救
出现如下错误,不明白
Buildrn [C++] Module.cpp(1): rn [C++] User.cpp(1): rn [C++] Co.cpp(1): rn [C++] New.cpp(1): rn [C++] History.cpp(1): rn [C++] PubData.cpp(1): rn [C++] InputMachModu.cpp(1): rn [C++] ErrorCommu.cpp(1): rn [C++] CommuData.cpp(1): rn [C++] TCommu.cpp(1): rn [C++] ChangeMachUse.cpp(1): rn [C++] PasswIn.cpp(1): rn [C++] PasswChange.cpp(1): rn [C++] DelTable.cpp(1): rn [C++] ShowAddress.cpp(1): rn [C++] PasswInCo.cpp(1): rn [C++] ErrorCommuModule.cpp(1): rn [C++] TrouProtect.cpp(1): rn [C++] Logo.cpp(1): rn [Linker] rn [Linker Error] Unresolved external '_BeforeDestruction' referenced from F:\MODULE\MODULE.OBJrn [Linker Error] Unresolved external '_ClassDestroy' referenced from F:\MODULE\MODULE.OBJrn [Linker Error] Unresolved external '_ClassCreate' referenced from F:\MODULE\LOGO.OBJrn [Linker Error] Unresolved external '_AfterConstruction' referenced from F:\MODULE\MAIN.OBJrn [Linker Error] Unresolved external 'memset' referenced from F:\MODULE\NEW.OBJrn [Linker Error] Unresolved external '_ftol' referenced from F:\MODULE\HISTORY.OBJrn [Linker Error] Unresolved external 'pow' referenced from F:\MODULE\HISTORY.OBJrn [Linker Error] Unresolved external 'strlen' referenced from F:\MODULE\PASSWCHANGE.OBJrn [Linker Error] Unresolved external '_Return_unwind' referenced from F:\MODULE\MAIN.OBJrn
保存按钮代码如下
integer rtnrnif this.text = "保存" thenrn rtn = dw_1.update()rn if rtn = 1 thenrn COMMIT USING SQLCArn elsern ROLLBACK USING SQLCArn end ifrn parent.title = parent.tagrnend ifrn系统提示有四个语法<em>错误</em>,明明和书上写的一样,怎么会有<em>错误</em>
wpf 触发器button按下后抬起)的事件
在<em>触发器</em>中有个<em>button</em>按下后抬起的事件是什么,我知道在c#中是MouseDownrnrn rn rn rnrnrn 我做的是鼠标按下时<em>button</em>一个颜色,抬起时又是另一个颜色rn
出现列名无效错误
[code=Java][/code]DAO文件中的方法rn public ArrayList findScoredataBySubject(String subject)rn ArrayList scoredatas = new ArrayList();rn String sql = "select name,score from score where subject = "+ subject+"";rn Query queryObject = getSession().createSQLQuery(sql);rn List list = queryObject.list();rn for(Object o : list)rn Object[] map = (Object[]) o;rn String name = (String)map[0];rn String score = ((Integer)map[1]).toString();rn scoredatas.add(new Scoredata(name,score));rn rn getSession().close();rn return scoredatas;rn rn[b]Action[/b]rnpublic class dataAction extends Actionrn public ActionForward execute(ActionMapping mapping,ActionForm form,HttpServletRequest request,HttpServletResponse response)rn dataForm dform = (dataForm)form;rn UserDAO dao = new UserDAO();rn String subject = dform.getSubject();rn ArrayList data = new ArrayList();rn if(subject!= null)rn data= dao.findScoredataBySubject(subject);rn elsern subject="-1";rn rn ArrayList subjects = dao.findSubject();rn request.setAttribute("datas", data);rn request.setAttribute("subjects", subjects);rn request.setAttribute("subject",subject);rn return mapping.findForward("success");rn rnrnrn数据库中我有一张score表rnname score subjectrn刘 98 mathsrn陈 56 englishrn.... .. ... .....rnrn<em>出现</em>的<em>错误</em>rnrnmessage rnrndescription The server encountered an internal error () that prevented it from fulfilling this request.rnrnexception rnrnjavax.servlet.ServletException: org.hibernate.exception.SQLGrammarException: could not execute queryrn org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:535)rn org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:433)rn org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)rn org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)rn org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)rn javax.servlet.http.HttpServlet.service(HttpServlet.java:637)rn javax.servlet.http.HttpServlet.service(HttpServlet.java:717)rnrnrnroot cause rnrnorg.hibernate.exception.SQLGrammarException: could not execute queryrn org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:90)rn org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66)rn org.hibernate.loader.Loader.doList(Loader.java:2235)rn org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2129)rn org.hibernate.loader.Loader.list(Loader.java:2124)rn org.hibernate.loader.custom.CustomLoader.list(CustomLoader.java:312)rn org.hibernate.impl.SessionImpl.listCustomQuery(SessionImpl.java:1723)rn org.hibernate.impl.AbstractSessionImpl.list(AbstractSessionImpl.java:165)rn org.hibernate.impl.SQLQueryImpl.list(SQLQueryImpl.java:175)rn hibernate.UserDAO.findScoredataBySubject(UserDAO.java:175)rn struts.action.dataAction.execute(dataAction.java:25)rn org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)rn org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)rn org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)rn org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)rn javax.servlet.http.HttpServlet.service(HttpServlet.java:637)rn javax.servlet.http.HttpServlet.service(HttpServlet.java:717)rnrnrnroot cause rnrncom.microsoft.sqlserver.jdbc.SQLServerException: 列名 'maths' <em>无效</em>。rn com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDatabaseError(Unknown Source)rn com.microsoft.sqlserver.jdbc.SQLServerStatement.getNextResult(Unknown Source)rn com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement.doExecutePreparedStatement(Unknown Source)rn com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement$PrepStmtExecCmd.doExecute(Unknown Source)rn com.microsoft.sqlserver.jdbc.TDSCommand.execute(Unknown Source)rn com.microsoft.sqlserver.jdbc.SQLServerConnection.executeCommand(Unknown Source)rn com.microsoft.sqlserver.jdbc.SQLServerStatement.executeCommand(Unknown Source)rn com.microsoft.sqlserver.jdbc.SQLServerStatement.executeStatement(Unknown Source)rn com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement.executeQuery(Unknown Source)rn org.hibernate.jdbc.AbstractBatcher.getResultSet(AbstractBatcher.java:208)rn org.hibernate.loader.Loader.getResultSet(Loader.java:1812)rn org.hibernate.loader.Loader.doQuery(Loader.java:697)rn org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:259)rn org.hibernate.loader.Loader.doList(Loader.java:2232)rn org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2129)rn org.hibernate.loader.Loader.list(Loader.java:2124)rn org.hibernate.loader.custom.CustomLoader.list(CustomLoader.java:312)rn org.hibernate.impl.SessionImpl.listCustomQuery(SessionImpl.java:1723)rn org.hibernate.impl.AbstractSessionImpl.list(AbstractSessionImpl.java:165)rn org.hibernate.impl.SQLQueryImpl.list(SQLQueryImpl.java:175)rn hibernate.UserDAO.findScoredataBySubject(UserDAO.java:175)rn struts.action.dataAction.execute(dataAction.java:25)rn org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)rn org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)rn org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)rn org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)rn javax.servlet.http.HttpServlet.service(HttpServlet.java:637)rn javax.servlet.http.HttpServlet.service(HttpServlet.java:717)rn求高手解释一下..
mysql触发器出现错误
create trigger memuserrnafter insert on sj_membersrnfor each rowrnbeginrninsert into hy_members set rnrnusername=new.username,password=new.password;rnend;rnrn这个在MYSQL数据库中执行老是<em>出现</em><em>错误</em>,版本是5.1的。<em>出现</em>以下<em>错误</em>:rnMySQL 返回: rnrn#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 7 rn
设置上下文菜单出现的问题?(代码如下)
在这里有一个问题,就是 rn未将对象引用<em>设置</em>到对象的实例。 rn大家指点一下,为什么会<em>出现</em>这个原因? rnprivate void lstview_MouseMove(object sender, MouseEventArgs e) rn rnlstview.ContextMenu.Show(this.contextMenuStrip1, new Point(e.X, e.Y)); rnrn
按钮,button按钮,button按钮,button
<em>按钮</em>,<em>button</em><em>按钮</em>,<em>button</em><em>按钮</em>,<em>button</em>
函数返回值老是无效代码如下
unit Unit1;rnrninterfacernrnusesrn Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,rn Dialogs, ExtCtrls;rnrntypern TForm1 = class(TForm)rn Timer1: TTimer;rn function C_name: string;rn procedure Timer1Timer(Sender: TObject);rn privatern Private declarations rn publicrn Public declarations rn end;rnrnvarrn Form1: TForm1;rnrnimplementationrnrn$R *.dfmrnrnfunction tform1.C_name: string;rn//-------------computer name--------rnvarrn s:array[1..127] of char;rn i:DWord;rnbeginrn GetComputerName(@s,i);rn result:=LowerCase(trim(s));;rnend;rnrnrnprocedure TForm1.Timer1Timer(Sender: TObject);rnbeginrn if C_name='123' thenrn showmessage('1');rnend;rnrnend.rn_________________________________________________________________________rnrn我的计算机名就是123,为什么没有对话框提示1呢???
WPF 设置button样式,鼠标经过按钮字体变大
Button样式效果:1.编写样式 &amp;lt;Style x:Key=&quot;btn&quot; TargetType=&quot;Button&quot;&amp;gt; &amp;lt;Setter Property=&quot;Margin&quot; Value=&quot;5,5,5,5&quot;&amp;gt;&amp;lt;/Setter&amp;gt; &amp;lt;Setter Property=&quot;Template&q
button按钮出现重影问题
在android 5.0以上版本,<em>button</em><em>按钮</em>就会<em>出现</em>底部重影,影响界面效果,希望解决!!
mdx令牌无效是怎么回事?
在mdx sample application中rnselect rn ([Measures].[ct]) on columns, rn ([dj].[fzdjid].members,[sd].[sdid].members) on rowsrnfrom glrn<em>出现</em>语法<em>错误</em>-<em>令牌</em><em>无效</em>rnrngl这个cube中,dj和sd是两个维度,我想得到这两个维度任意匹配后的度量值,这样对马?请指点:)
设置button按钮边框颜色
首先需要在drawable文件下新建一个XML文件,然后<em>设置</em>如下 xml version="1.0" encoding="UTF-8"?> xmlns:android="http://schemas.android.com/apk/res/android"> android:color="@color/black" /> an
C++ Button设置按钮文本
1、类CButtonST中定义一个<em>设置</em><em>按钮</em>图标的成员函数DWORD CButtonST::SetIcon(int nIconIn, int nIconOut){    HICON        hIconIn            = NULL;    HICON        hIconOut        = NULL;    HINSTANCE    hInstResource    = N...
设置Button按钮状态背景
Android selector选择器可以让你切换自定义的背景风格,让你的控件或者布局在不同状态下背景切换,背景可以使眼色或者图片资源。 首先,android中的selector要在res/drawable/xxx.xml中配置,比如下面Button的例子: 使用drawable: [html] view plain copy
设置背景选择器和button按钮的下划线
首先利用RadioGroup包裹着RadioButton 下面看下布局文件 android:grav
WPF base64string转化为图片出现参数无效错误
如题,有遇到过这类问题的,看下如何解决,谢谢!rnrn<em>代码</em>如下:rn[code=C#]rnrn string base64Str = e.Parameter.ToString();rn byte[] arr = Convert.FromBase64String(base64Str);rn using (MemoryStream ms = new MemoryStream(arr))rn rn ms.Seek(0, SeekOrigin.Begin);rn System.Drawing.Image img = System.Drawing.Image.FromStream(ms);rn Bitmap m = new Bitmap(img);rn IntPtr hBitmap = m.GetHbitmap();rn BitmapSizeOptions bso = BitmapSizeOptions.FromEmptyOptions();rn BitmapSource bs = System.Windows.Interop.Imaging.CreateBitmapSourceFromHBitmap(hBitmap, IntPtr.Zero, Int32Rect.Empty, bso);rn Clipboard.SetImage(bs);rn rnrn[/code]
MDI button按钮的背景图片设置
<em>button</em><em>按钮</em>的背景图片<em>设置</em>rn希望得到详细步骤 ,<em>代码</em>rn谢谢大家了
Button 按钮的颜色设置问题?
为什么 Button 在<em>设置</em>默认状态下,和<em>设置</em>背景颜色以后,形状都改变了?
如何设置BUTTON按钮的形态
若要使BUTTON<em>按钮</em>按下去放开鼠标后,这个<em>按钮</em>一直处于按下去的状态,知道再拿鼠标点击后才能弹回原状,该如何<em>设置</em>?rn
Button按钮的背景颜色怎么设置?
我在OnCltColor里面..对所有的控件<em>设置</em>颜色rnOnCreate里面.rnrnrnif (pWnd->GetDlgCtrlID() == ...||...||)rnrn pDC->SetBkColor(RGB(255,255,255));rn return hbrBk;rnrnrnhbrBk是一个全局变量..白色的画刷.rn但是现在界面上所有的控件背景色都变白了..但是上面所有<em>按钮</em>的背景颜色依然是灰灰的..rn程序也的确运行了进去了..就是<em>设置</em>后没效果..rnrn<em>按钮</em>颜色要用其他什么方法设吗?
wpf button 替换默认的按钮样式
<em>wpf</em> 中<em>button</em>默认的样式有边框而且还鼠标经过的效果,想去掉所有的样式。主要是<em>button</em>有一个click的事件,label我没发现有,不然就用label了。rnrn程序其实是winform的应用程序,中间创建了<em>wpf</em>的用户控件,如果定义<em>wpf</em>的样式文件,或者内置的样式,然后应用给<em>button</em>,让<em>button</em>就跟一个具有click事件的label似的?因为我想要的只是显示一张图片,然后点击图片进入下一步。rnrn或者我用其他的控件?rnrn因为没有写过<em>wpf</em>,更没有在winfom程序中应用<em>wpf</em>,所以发帖请教
WPF Button按钮模板样式修改(一)
本章讲述:Button简单模板样式的修改,圆角矩形<em>按钮</em>实现; 主要通过修改控件模板以达到效果; XAML前端样式<em>代码</em>:通过Border来控制控件的圆角;采用属性<em>触发器</em>控制鼠标操作时,改变前景色和背景色。 &amp;lt;Style x:Key=&quot;ExButton&quot; TargetType=&quot;{x:Type Button}&quot;&amp;gt; &amp;lt;Setter Property=&quot;MinHeight&quot; V...
WPF按钮button的特效应用工程样例
WPF<em>按钮</em><em>button</em>的特效应用工程样例 主要是<em>button</em>的模板的应用 framework4.0 visual2010
WPF一个好看的动态Button按钮样式
HAML<em>代码</em> &lt;!--窗口资源--&gt; &lt;Window.Resources&gt; &lt;!--<em>按钮</em>样式--&gt; &lt;StyleTargetType="{x:TypeButton}"&gt; &lt;SetterProperty="Width"Value="100"/&gt; ...
EditText为空时Button按钮无效
一、activity_main.xml LinearLayout android:orientation="vertical" xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:
WPF Button按钮模板样式修改(二)
本章讲述:Button模板样式修改,不显示边框,只显示图标,点击<em>按钮</em>图标动态旋转; 主要采用采用图片做背景和数据<em>触发器</em>,触发故事板(Storyboard)事件,实现<em>按钮</em>中图片按角度旋转; &amp;lt;Button Width=&quot;30&quot; Height=&quot;30&quot;&amp;gt; &amp;lt;Button.Style&amp;gt; &amp;lt;Style TargetType=&quot;Button&quot;&amp;gt..
WPF,button按钮如何显示文本
[code=html]rn rn rn rn 10,20,15,5rn rn rn rn[/code]rnrn上面的XAML<em>代码</em>,表示在<em>button</em>周围画边框,可是如何把文本写上去呢?
asp 验证控件导致 button按钮 事件无效
在asp中,一旦加入了验证控件,并且<em>button</em><em>按钮</em>的属性为: CausesValidation="true" 则该<em>按钮</em>必须在所有的验证控件通过验证后才会调用<em>按钮</em>的其他事件,如果该<em>按钮</em>只需要验证一部分控件,我们可以吧<em>按钮</em>和验证控件的属性<em>设置</em>为: ValidationGroup=“同一组名” 这样,<em>按钮</em>只要同一组名的验证控件通过验证就会执行事件,不会受其他验证控件的影响
JS调用button按钮的后台无效
我想要实现点击li,然后传值给js,js接收到后并点击一个隐藏的<em>按钮</em>,从而对一系列控件的数据进行绑定。但是没有效果,值在js方法里是读的出来的,就是那个点击<em>代码</em>根本没有进入后台。求大神们帮帮忙。rn后台动态生成li并显示:rn[img=https://img-bbs.csdn.net/upload/201603/14/1457948016_797054.png][/img]rnJS<em>代码</em>:rn[img=https://img-bbs.csdn.net/upload/201603/14/1457948031_583160.png][/img]rn前台:rn[img=https://img-bbs.csdn.net/upload/201603/14/1457947916_910749.png][/img]rn后台<em>按钮</em>方法:rn[img=https://img-bbs.csdn.net/upload/201603/14/1457948061_376277.png][/img]
wpf 按钮变灰无效的问题
点击<em>按钮</em>后,想让它变灰,经过一段<em>代码</em>,在退出click事件之前,再让<em>按钮</em>恢复正常状态。rn使用IsEnabled = false,<em>按钮</em>无任何反应。这段<em>代码</em>是一段操作外设的处理,在里面会有等待,我把这段<em>代码</em>注释掉,<em>按钮</em>就可以变灰了。问题:rn1、感觉是这段<em>代码</em>的原因,但说不清为什么会这样?rn2、现在该怎么样才能控制<em>按钮</em>变灰呢?rn
wpf样式触发器鼠标划过按钮问题
[code=text]rnrnrn rn rn rn rn rn rnrn[/code]rn请问前辈们,为什么鼠标划过<em>按钮</em>,然后[color=#FF0000]停留在<em>按钮</em>上面[/color],背景色[color=#FF0000]只显示一下BlanchedAlmond颜色[/color],然后又恢复默认的颜色.rn我想实现鼠标停留在<em>按钮</em>上就实现背景色是BlanchedAlmond颜色rn谢谢!
WPF 触发器,点击改变按钮颜色问题
大家好,我做了一个<em>按钮</em>然后想点击改变<em>按钮</em>背景色,一直都没实现,目前实现的是<em>按钮</em>获取焦点后背景色改变,但是<em>按钮</em>一旦失去焦点,背景色又还原了,焦点不可能一直在这几个<em>按钮</em>上,所以这种方式不行,我想要的效果是点击<em>按钮</em>改变背景色,然后点另外一个<em>按钮</em>,<em>按钮</em>背景色改变,原来的<em>按钮</em>背景色还原,请问用<em>触发器</em>怎么实现?rn[code=csharp]rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn [/code]rn
WPF触发器
项目中最近让我开发产品主界面,一些简单的特效需要用到<em>触发器</em>,这里简单记录一下触发的使用,以后共工作中再次用到会更新 一、<em>触发器</em>分类 简单<em>触发器</em>Triggers、多条件<em>触发器</em>MultiTriggers、事件<em>触发器</em>EventTrigger、数据<em>触发器</em>、DataTrigger 二、<em>触发器</em>的使用 1、简单<em>触发器</em>Triggers——满足简答的条件,触发 &lt;...
WPF之触发器
1. Trigger <em>触发器</em>,应用属性值或有条件地执行操作; 1)触发源:控件; 2)触发条件:某属性为某个值,或执行某个事件时; 3)执行操作:更改某个属性值或执行某个事件; 4)举例:当窗口加载时(执行某个事件时),以动画的形式将窗口的大小倍数从 0 到 1 展示(执行某个事件)。 2. Trigger 的分类 1)根据<em>触发器</em>的触发条件,在 WPF 中,<em>触发器</em>的形态可以是:Trigger...
触发器无效
create or replace trigger tr_cardrnbefore insert or update rnon USERS for each rowrnbeginrnupdate USERS set card_id ='AN'||to_char(sysdate,'yyyy-mm-dd-hh24:mi:ss')||CARD_ID where users.id_users=:new.id_users;rnend;rnrn想在每次插入时修改users表的ID,可是不知道为什么<em>触发器</em>不报错,但是<em>无效</em>
点击按钮出现错误
[code=HTML] rn ?cyCode=$entry.code&ccode=$entry.ccode&cuCode=$entry.cucode&ycode=$entry.ycode">rn [/code]rn点击这个连接跳转到另一个页面rn这个页面有个<em>按钮</em>:rn[code=HTML][/code]rn当点击这个删除<em>按钮</em>时出错:rn[img=http://hi.csdn.net/attachment/201009/13/182817_1284364822jJ1G.jpg][/img]rn在firefox中调试:rn[img=http://hi.csdn.net/attachment/201009/13/182817_1284364893hMmm.jpg][/img]rn不知这是什么原因,请教。rn页面使用的struts2开发。
thinkphp 表单令牌错误
[img=http://www.thinkphp.cn/Uploads/editor/2013-01-03/50e555a64792e.jpg][/img][img=http://www.thinkphp.cn/Uploads/editor/2013-01-03/50e5559a2ac2c.jpg][/img]rn[img=http://www.thinkphp.cn/Uploads/editor/2013-01-03/50e5558da9f7e.jpg][/img]rnrnrnrnrnrnrnrnrnrnrnrnrnrn用的是thinkphp3.1版本,提交数据的时候,提示表单<em>令牌</em><em>错误</em>,数据没有插进去
【C#/WPF】WPF应用程序,另一类Button按钮(图片)的实现方法。
在使用WPF应用程序过程中创建一个异类新的Button此处利用的方法分别是创建几个不同的Button。然后利用 转自:博客园&amp;lt;Button Style=&quot;{StaticResource {x:Static ToolBar.ButtonStyleKey}}&quot; /&amp;gt;Button 样式 去除Button边框。再利用Image控件,创造一个背景  注意!!一定不要在<em>button</em>上面添加文字,不...
button上贴图出现错误
我想在<em>button</em>(按键)上贴一个图案,这个图案是bmp的,但是在生成的时候会<em>出现</em>一个rnc2039的<em>错误</em>,<em>错误</em>描述是rnrn error C2039: “GetObjectA” : 不是“System::Resources::ResourceManager”的成员rnrn真是不知道哪里出的问题,希望有高手能给指点指点。rn
急,老出现如下错误
[code=C/C++]c:\program files\microsoft visual studio 8\vc\platformsdk\include\winnt.h(3857) : error C2061: 语法<em>错误</em> : 标识符“PCONTEXT”rn1>c:\program files\microsoft visual studio 8\vc\platformsdk\include\winnt.h(3858) : error C2059: 语法<em>错误</em> : “”rn1>c:\program files\microsoft visual studio 8\vc\platformsdk\include\winnt.h(8318) : error C2146: 语法<em>错误</em> : 缺少“)”(在标识符“ContextRecord”的前面)rn1>c:\program files\microsoft visual studio 8\vc\platformsdk\include\winnt.h(8318) : error C2061: 语法<em>错误</em> : 标识符“ContextRecord”rn1>c:\program files\microsoft visual studio 8\vc\platformsdk\include\winnt.h(8318) : error C2059: 语法<em>错误</em> : “;”rn1>c:\program files\microsoft visual studio 8\vc\platformsdk\include\winnt.h(8318) : error C2059: 语法<em>错误</em> : “)”rn1>c:\program files\microsoft visual studio 8\vc\platformsdk\include\winbase.h(779) : error C2061: 语法<em>错误</em> : 标识符“LPCONTEXT”rn1>c:\program files\microsoft visual studio 8\vc\platformsdk\include\winbase.h(779) : error C2059: 语法<em>错误</em> : “;”rn1>c:\program files\microsoft visual studio 8\vc\platformsdk\include\winbase.h(781) : error C2061: 语法<em>错误</em> : 标识符“LPEXCEPTION_POINTERS”rn1>c:\program files\microsoft visual studio 8\vc\platformsdk\include\winbase.h(781) : error C2059: 语法<em>错误</em> : “;”rn1>c:\program files\microsoft visual studio 8\vc\platformsdk\include\winbase.h(3155) : error C2146: 语法<em>错误</em> : 缺少“)”(在标识符“lpContext”的前面)rn1>c:\program files\microsoft visual studio 8\vc\platformsdk\include\winbase.h(3155) : error C2081: “LPCONTEXT”: 形参表中的名称非法rn1>c:\program files\microsoft visual studio 8\vc\platformsdk\include\winbase.h(3155) : error C2061: 语法<em>错误</em> : 标识符“lpContext”rn1>c:\program files\microsoft visual studio 8\vc\platformsdk\include\winbase.h(3155) : error C2059: 语法<em>错误</em> : “;”rn1>c:\program files\microsoft visual studio 8\vc\platformsdk\include\winbase.h(3156) : error C2059: 语法<em>错误</em> : “)”rn1>c:\program files\microsoft visual studio 8\vc\platformsdk\include\winbase.h(3163) : error C2143: 语法<em>错误</em> : 缺少“)”(在“*”的前面)rn1>c:\program files\microsoft visual studio 8\vc\platformsdk\include\winbase.h(3163) : error C2143: 语法<em>错误</em> : 缺少“”(在“*”的前面)rn1>c:\program files\microsoft visual studio 8\vc\platformsdk\include\winbase.h(3164) : error C2059: 语法<em>错误</em> : “)”rn1>正在生成<em>代码</em>...[/code]rn为什么啊 rn网上查找一下 有的说 要加入#includern我加入了 但是 还<em>出现</em>同样的<em>错误</em> 到底是怎么回事啊,急求高手解决,在线等
tomcat 启动时出现如下错误
2009-8-7 17:24:58 org.apache.catalina.core.AprLifecycleListener lifecycleEventrn信息: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\MyEclipse 6.5\bin;C:\apache-tomcat-5.5.27\binrn2009-8-7 17:24:58 org.apache.coyote.http11.Http11BaseProtocol initrn信息: Initializing Coyote HTTP/1.1 on http-8080rn2009-8-7 17:24:58 org.apache.catalina.startup.Catalina loadrn信息: Initialization processed in 797 msrn2009-8-7 17:24:58 org.apache.tomcat.util.digester.Digester fatalErrorrn严重: Parse Fatal Error at line 3 column 4: The content of elements must consist of well-formed character data or markup.rnorg.xml.sax.SAXParseException: The content of elements must consist of well-formed character data or markup.rn at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)rn at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(Unknown Source)rn at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(Unknown Source)rn at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(Unknown Source)rn at com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(Unknown Source)rn at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)rn at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)rn at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)rn at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)rn at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)rn at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source)rn at org.apache.tomcat.util.digester.Digester.parse(Digester.java:1581)rn at org.apache.catalina.users.MemoryUserDatabase.open(MemoryUserDatabase.java:402)rn at org.apache.catalina.users.MemoryUserDatabaseFactory.getObjectInstance(MemoryUserDatabaseFactory.java:103)rn at org.apache.naming.factory.ResourceFactory.getObjectInstance(ResourceFactory.java:140)rn at javax.naming.spi.NamingManager.getObjectInstance(Unknown Source)rn at org.apache.naming.NamingContext.lookup(NamingContext.java:793)rn at org.apache.naming.NamingContext.lookup(NamingContext.java:140)rn at org.apache.naming.NamingContextBindingsEnumeration.nextElementInternal(NamingContextBindingsEnumeration.java:113)rn at org.apache.naming.NamingContextBindingsEnumeration.next(NamingContextBindingsEnumeration.java:71)rn at org.apache.catalina.mbeans.GlobalResourcesLifecycleListener.createMBeans(GlobalResourcesLifecycleListener.java:137)rn at org.apache.catalina.mbeans.GlobalResourcesLifecycleListener.createMBeans(GlobalResourcesLifecycleListener.java:109)rn at org.apache.catalina.mbeans.GlobalResourcesLifecycleListener.lifecycleEvent(GlobalResourcesLifecycleListener.java:81)rn at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120)rn at org.apache.catalina.core.StandardServer.start(StandardServer.java:693)rn at org.apache.catalina.startup.Catalina.start(Catalina.java:552)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)rn at java.lang.reflect.Method.invoke(Unknown Source)rn at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)rn
eclipse启动出现如下错误
[img=http://hi.csdn.net/attachment/201106/13/27184_13079524162vze.jpg][/img]rnrn到日志下查看如下:rnrn!SESSION 2011-06-13 16:05:10.844 -----------------------------------------------rneclipse.buildId=M20110210-1200rnjava.version=1.6.0_26rnjava.vendor=Sun Microsystems Inc.rnBootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=zh_CNrnFramework arguments: -product org.eclipse.epp.package.jee.productrnCommand-line arguments: -os win32 -ws win32 -arch x86 -product org.eclipse.epp.package.jee.productrnrn!ENTRY org.eclipse.osgi 4 0 2011-06-13 16:05:12.136rn!MESSAGE Application errorrn!STACK 1rnorg.eclipse.swt.SWTException: Unsupported or unrecognized formatrn at org.eclipse.swt.SWT.error(SWT.java:4083)rn at org.eclipse.swt.SWT.error(SWT.java:3998)rn at org.eclipse.swt.SWT.error(SWT.java:3969)rn at org.eclipse.swt.internal.image.FileFormat.load(FileFormat.java:82)rn at org.eclipse.swt.graphics.ImageLoader.load(ImageLoader.java:130)rn at org.eclipse.swt.graphics.ImageDataLoader.load(ImageDataLoader.java:22)rn at org.eclipse.swt.graphics.ImageData.(ImageData.java:331)rn at org.eclipse.jface.resource.URLImageDescriptor.getImageData(URLImageDescriptor.java:71)rn at org.eclipse.jface.resource.ImageDescriptor.createImage(ImageDescriptor.java:273)rn at org.eclipse.jface.resource.URLImageDescriptor.createImage(URLImageDescriptor.java:166)rn at org.eclipse.jface.resource.ImageDescriptor.createImage(ImageDescriptor.java:227)rn at org.eclipse.jface.resource.ImageDescriptor.createImage(ImageDescriptor.java:205)rn at org.eclipse.ui.internal.Workbench.initializeImages(Workbench.java:1691)rn at org.eclipse.ui.internal.Workbench.createDisplay(Workbench.java:720)rn at org.eclipse.ui.PlatformUI.createDisplay(PlatformUI.java:161)rn at org.eclipse.ui.internal.ide.application.IDEApplication.createDisplay(IDEApplication.java:145)rn at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:88)rn at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)rn at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)rn at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)rn at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)rn at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)rn at java.lang.reflect.Method.invoke(Unknown Source)rn at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:620)rn at org.eclipse.equinox.launcher.Main.basicRun(Main.java:575)rn at org.eclipse.equinox.launcher.Main.run(Main.java:1408)rnrnrn请问大神们有什么解决办法!
编译内核后出现如下错误
在grub.conf文件中是这样写的:rntitle=new linuxrnroot (hd0,0)rnkernel /vmlinuz root=/dev/hda1rn启动时<em>出现</em>如下<em>错误</em>rnkernel panic:VFS: Unable to mount root fs on 03:01rn我用的是第一块硬盘的第一个分区rn请问如何解决?rnrn
程序发布不了,出现如下错误
Unable to open then project because the add-on sortware that was used to careate it couldrnbe found.Perhaps this project was built on another system?rn
spring配置多数据源出现如下错误
配置多数据源时<em>出现</em>这个<em>错误</em>rn org.springframework.beans.factory.BeanDefinitionStoreException: Invalid bean name 'txadvice' in bean reference for bean property 'adviceBeanName'rn 有点不太明白了,求解rn <em>错误</em><em>代码</em>如下:rn Caused by: org.springframework.beans.factory.BeanDefinitionStoreException: Invalid bean name 'txadvice' in bean reference for bean property 'adviceBeanName'rn at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:114)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1477)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1222)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:537)
出现如下错误,怎么解决?
原码如下:rn--------------------------------------------------------------------------rnrni = 2;rnwhile (Number(i)<50) rnrn动作脚本<em>错误</em>总数:2 报错:2
发邮件时出现如下错误?
java.lang.SecurityException: Access to default session deniedrn我开发环境:rn工具:JDEVELOPERrn数据库:oracle 9irn中间件:OC4Jrn有时候邮件可以正常发处,有时候<em>出现</em>上边<em>错误</em>?谁碰到过,谢谢了!
出现如下错误,如何修改?
Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting ']' in E:\www\php\vhc\admin\content_res.php(777) : eval()'d code on line 152rnrn此行<em>代码</em>为rneval("\$content_block = \"".$this->iTemplate->getTemplate("content_editsoft")."\";");
JButton按钮无法禁用按钮代码如下
nn```n this.<em>button</em> = new JButton(Img);n n //<em>设置</em><em>按钮</em>位置n this.<em>button</em>.setBounds(x, y, w, h);n n //增加事件监听(内部匿名类),使得按完<em>按钮</em>后<em>按钮</em>被禁用n n this.<em>button</em>.addActionListener(new ActionListener() n public void actionPerformed(ActionEvent e) n this.<em>button</em>.setEnable(fasle);n n );n n this.add(this.panal);n```nnn
编译时为何出现如下错误
Linking...rn3Dlg.obj : error LNK2001: unresolved external symbol __imp__socket@12rn3Dlg.obj : error LNK2001: unresolved external symbol __imp__WSAStartup@8rnDebug/3.exe : fatal error LNK1120: 2 unresolved externals
调试时出现如下错误
下了一个大型程序,按f5运行时,有如下提示:rnrn无法直接启动带有 "类库输出类型"的项目 rn若要调试此项目,请转到"项目属性" 中 "配置<em>设置</em>" 下 rn的 "调试" 选项卡,将"启动操作" <em>设置</em>为 "启动外部程序" 或 "启动 URL" . 另一种方法是,可以将一个使用此项目引用的非库项目添加到该解决方案中,并将它<em>设置</em>为启动项目. rnrnrn按他提示的第一点做,但找不到相应的<em>设置</em>,rn第二点提示,看不明.rn应该怎样调试呀?
数据库出现如下的错误什么原因?
ORACLE 9i 装在winXP下 所有的服务都起来了,但是用sqlplus连接的时候提示没有实例化或者shutdown,是什么原因呢?以前用8i有svrmgrl可以用internal/oracle来startup就可以了,9i怎么解决呢?谢谢
数据库出现如下错误,求救!
rnrn在事件查看器--应用程序日志中<em>出现</em><em>错误</em>:rnrn详细显示为:rnSqlDumpExceptionHandler: 进程 2020 发生了严重的异常 c0000005 EXCEPTION_ACCESS_VIOLATION。SQL Server 将终止该进程。rnrn大约每隔半小时<em>出现</em>一次,请问应该如何解决?rnrn查了一下,原因好像是SQL SERVER存在拒绝服务问题,有解决方法吗?rn
升级 sp3出现如下错误
注册脚本 sp_vupgrade_replication(1)<em>错误</em>rnrn怎么解决rnrn
gdb调试过程中出现如下错误
0x4207acc0 in chunk_free () from /lib/i686/libc.so.6rn不知道什么意思rn这个chunk_free()是/lib/i686/libc.so.6的一个函数吗?
出现如下错误如何解决???
对access数据库操作<em>出现</em>如下<em>错误</em>:rnrnMicrosoft JET Database Engine <em>错误</em> '80040e21' rnrn对十进制值的调整导致了数据的截断。 rnrn<em>错误</em>行是:rs("score")=csng(getscore)rnrn字段scroe是数字型,小数,精度5,数值范围2。rnrn估计是getscore的小数位数过大引起的,如何解决呢(字段类型不能改)rnrn请给出<em>代码</em>谢谢rn
编译的时候出现如下错误
corelibc.lib(pegwmain.obj) : error LNK2019: unresolved external symbol WinMain referenced in function WinMainCRTStartuprnARMV4IRel/test_t.exe : fatal error LNK1120: 1 unresolved externalsrnError executing link.exe.rn rn请高手赐教rn是不是入口函数的问题,但是不知道具体怎么解决
数据库恢复时出现如下错误
我的数据库可以备份可是回复的时候<em>出现</em>如下<em>错误</em>:rnjava.sql.SQLException: [Microsoft][ODBC SQL Server Driver][SQL Server]因为数据库正在使用,所以未能获得对数据库的排它访问权。rn请问怎么解决?
asp.net出现如下错误,郁闷。。。
rnrn rnrn private static object __stringResource;rn rn private static System.Collections.ArrayList rn public Install_aspx() rn rnrn C:\WINNT\Microsoft.NET\Framework\v1.0.3705\Temporary ASP.NET Files\bbs\80c04019\d8304e7e\edw7l93g.0.cs rnrn请问是什么<em>错误</em>?rn
出现如下错误是何原因?
[code=java]package Test;rnrn//Demonstrate static variables,methods,and blocks.rnrnclass UseStaticrnrn static int a = 3;rn static int b;rnrn static void meth(int x)rn rn System.out.println("x = " + x);rn System.out.println("a = " + a);rn System.out.println("b = " + b);rn rnrn staticrn rn System.out.println("Static block initialized.");rn b = a * 4;rn rnrn public static void main(String args[])rn rn meth(42);rn rnrn[/code]rnCaused by: java.lang.ClassNotFoundException: Test.Test5rn at java.net.URLClassLoader$1.run(URLClassLoader.java:200)rn at java.security.AccessController.doPrivileged(Native Method)rn at java.net.URLClassLoader.findClass(URLClassLoader.java:188)rn at java.lang.ClassLoader.loadClass(ClassLoader.java:307)rn at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)rn at java.lang.ClassLoader.loadClass(ClassLoader.java:252)rn at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)rnException in thread "main"
出现如下错误是什么原因
“/z”应用程序中的服务器<em>错误</em>。rn--------------------------------------------------------------------------------rnrn分析器<em>错误</em> rn说明: 在分析向此请求提供服务所需资源时出错。请检查下列特定分析<em>错误</em>详细信息并适当地修改源文件。 rnrn分析器<em>错误</em>信息: 未能加载类型“_415.Global”。rnrn源<em>错误</em>: rnrnrn行 1: rnrn rnrn源文件: D:\z\global.asax 行: 1 rnrnrn--------------------------------------------------------------------------------rn版本信息: Microsoft .NET 框架版本:1.0.3705.0; ASP.NET 版本:1.0.3705.
连接sql2000出现如下错误
java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]Error establishing socket.rn求解决方法!rn到底是什么出错了![code=java]ublic class db rn private String dbDriver="com.microsoft.jdbc.sqlserver.SQLServerDriver";rnrn private String sConnStr = "jdbc:microsoft:sqlserver://localhost:1433;databasename=webcar"; //webcarrn public Connection connect = null;rn public ResultSet rs=null;rn public db() rn try rn rn Class.forName(dbDriver); rn rn connect = DriverManager.getConnection(sConnStr,"sa","sa"); rn System.out.println("webcar 数据库连接");rn rn rn catch (Exception ex) rn System.out.println("12121");rn ex.printStackTrace();rn rn rn [/code]
XML配置文件出现如下错误??
the processing istruction target "[xX][mM][lL]"matching is not allowedrn这个是为啥 如何更改??
安装SDK出现如下错误
Downloading SDK Platform Android 3.1, API 12, revision 2rnSoftware caused connection abort: recv failedrnDownloading SDK Platform Android 3.0, API 11, revision 1rndl-ssl.google.comrnDownloading SDK Platform Android 2.3.1, API 9, revision 2 (Obsolete)rndl-ssl.google.comrnDownloading Google APIs by Google Inc., Android API 10, revision 2rndl-ssl.google.comrnDownloading Google APIs by Google Inc., Android API 8, revision 2rndl-ssl.google.comrnDownloading Real3D by LGE, Android API 8, revision 1rndeveloper.lgmobile.comrnDownloading GALAXY Tab by Samsung Electronics., Android API 8, revision 1rninnovator.samsungmobile.comrnDownloading Google APIs by Google Inc., Android API 7, revision 1rndl-ssl.google.comrnDownloading Google APIs by Google Inc., Android API 4, revision 2rndl-ssl.google.comrnDownloading Google APIs by Google Inc., Android API 3, revision 3rndl-ssl.google.comrnDownloading Google USB Driver package, revision 4rndl-ssl.google.comrnDownloading Android Compatibility package, revision 2rndl-ssl.google.comrnDownloading Google Admob Ads Sdk package, revision 2rndl-ssl.google.comrnDownloading Google Market Licensing package, revision 1rndl-ssl.google.comrnDownloading Google Market Billing package, revision 1rndl-ssl.google.comrnSkipping 'Google APIs by Google Inc., Android API 12, revision 1'; it depends on 'SDK Platform Android 3.1, API 12, revision 2' which was not installed.rnSkipping 'Google APIs by Google Inc., Android API 11, revision 1'; it depends on 'SDK Platform Android 3.0, API 11, revision 1' which was not installed.rnSkipping 'Google APIs by Google Inc., Android API 9, revision 2'; it depends on 'SDK Platform Android 2.3.1, API 9, revision 2 (Obsolete)' which was not installed.rnSkipping 'EDK by Sony Ericsson Mobile Communications AB, Android API 9, revision 1'; it depends on 'SDK Platform Android 2.3.1, API 9, revision 2 (Obsolete)' which was not installed.
impdp 导入数据出现如下错误
[img]http://dl2.iteye.com/upload/attachment/0095/2960/5b7c8065-293b-392b-bd4e-ac4dc74ed6c4.jpg[/img] Errors in file /Oracle/app/diag/rdbms/gavin/Gavin/trace/Gavin_arc0_5889.trc: ORA-19809: 超出了恢复文...
出现如下错误是怎么回事?
操作系统:win2000rnjsp服务器:jboss-3.0.0_tomcat-4.0.3rn使用连接池进行数据库连接rn执行sql语句的程序rnrnpublic ResultSet query(String sql) throws Exception rn ResultSet rs = null;rn tryrn this.getConnection();rn stmt = this.connection.createStatement(ResultSet.TYPE_SCROLL_SENSITIVE,ResultSet.CONCUR_READ_ONLY);rn this.print("sql = " + sql);rn rs = stmt.executeQuery(sql); \\出错部分(说明:可以正常执行几条语句然后报错)rn catch(Exception e)rn this.setLastError(e.getMessage());rn this.printError();rn throw e;rn rn return rs;rn rnrn出错提示:rnMicrosoft SQLServer JDBC Driver Can't start manual transaction mode because there are cloned connections.rnrn用连接池。。。
出现如下错误,如何解决
Server Error in '/' Application.rn--------------------------------------------------------------------------------rnrnTimeout expired. The timeout period elapsed prior to obtaining a connection from the pool. This may have occurred because all pooled connections were in use and max pool size was reached. rnDescription: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. rnrnException Details: System.InvalidOperationException: Timeout expired. The timeout period elapsed prior to obtaining a connection from the pool. This may have occurred because all pooled connections were in use and max pool size was reached.rnrnSource Error: rnrnAn unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. rnrnStack Trace: rnrnrn[InvalidOperationException: Timeout expired. The timeout period elapsed prior to obtaining a connection from the pool. This may have occurred because all pooled connections were in use and max pool size was reached.]rn System.Data.SqlClient.SqlConnectionPoolManager.GetPooledConnection(SqlConnectionString options, Boolean& isInTransaction) +396rn System.Data.SqlClient.SqlConnection.Open() +384rn didadicom.Components.ProductsDB.GetProductsByTuijian(String strTuijian, Int32 RowNums) in D:\wwwroot\didadicom\Components\ProductsDB.cs:1106rn didadicom.index.BindData() in d:\wwwroot\didadicom\index.aspx.cs:56rn didadicom.index.Page_Load(Object sender, EventArgs e) in d:\wwwroot\didadicom\index.aspx.cs:46rn System.Web.UI.Control.OnLoad(EventArgs e) +67rn System.Web.UI.Control.LoadRecursive() +35rn System.Web.UI.Page.ProcessRequestMain() +731rnrn rnrnrn--------------------------------------------------------------------------------rnVersion Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET Version:1.1.4322.573
ASA8数据库出现如下错误
internal database error ***error*** assertion failed:100701rn(8.0.1.2600)rnunabled to modify indexes for a row referenced in rollback log--rntransaction rolled backrnrn数据库服务器启动不了。rnrn急啊!
mysql启动出现如下错误
[root@localhost mysql]# systemctl start mysql.servicenFailed to start mysql.service: Unit mysql.service failed to load: No such file or directory.
oracle9i编程艺术doc版本下载
《oracle9i编程艺术》深入数据库体系结构,本书作者:thomas kyte,从这本书中,你将知道Oracle数据库如何工作,它的关键特性能做什么,以及什么时候应该(和不应该)使用这些特性。理解“什么时候做”和“为什么这样做”(以及“什么时候不做”和“为什么不做”)将是本书的精辟之处。独特讲授知识的方式与众不同。与大家共勉此书 相关下载链接:[url=//download.csdn.net/download/wzq3653085/2532558?utm_source=bbsseo]//download.csdn.net/download/wzq3653085/2532558?utm_source=bbsseo[/url]
ExtJs 4.1 正确的sdk.jsb3文件下载
extjs4.1自带的sdk.jsb3文件里面的路径所有都是错误的。 现在已经将路径修改好了,可以在spket中使用了。 相关下载链接:[url=//download.csdn.net/download/leon_ice/4392120?utm_source=bbsseo]//download.csdn.net/download/leon_ice/4392120?utm_source=bbsseo[/url]
Version Control with Git Powerful tools and techniques for collaborative下载
Version Control with Git Powerful tools and techniques for collaborative software development 相关下载链接:[url=//download.csdn.net/download/txjia/5076407?utm_source=bbsseo]//download.csdn.net/download/txjia/5076407?utm_source=bbsseo[/url]
相关热词 c#检测非法字符 c#双屏截图 c#中怎么关闭线程 c# 显示服务器上的图片 api嵌入窗口 c# c# 控制网页 c# encrypt c#微信网页版登录 c# login 居中 c# 考试软件
我们是很有底线的