摘要: 中文API地址:http://www.cnblogs.com/Philoo/archive/2011/11/16/jeasyui_api_datagrid.html类似于Extjs的轻量级Jquery插件使用过程遇到问题:1.Q:demo中,数据绑定的json不支持中文 R: 只要把文本另存,编码格式从ascii改成utf-8就行2.Q:Datagrid url数据源绑定 R: 字符串:$("#table").datagrid('loadData',json对象) url:如果使用ajax,可以用ashx文件,或者mvc 的jsonresult路径,只要返回 阅读全文
posted @ 2012-10-15 15:44 RyanRuan 阅读(5072) 评论(0) 推荐(0) 编辑
摘要: 在连接数据库应该经常遇到的问题,尤其是对盗版的xp系统而言。 这主要是通过Java 或者vc连接数据库遇到的问题 解决问题的方法:1.检查一下 windows下的system32 中是否有framedyn.dll这个系统文件,如果没有到system32 下的wbem文件中拷贝framedyn.dll到system32 目录下2.如果有,删除framedyn.dll3.删除后还是不行,删除后执行1,重新复制 阅读全文
posted @ 2012-09-26 16:34 RyanRuan 阅读(733) 评论(0) 推荐(0) 编辑
摘要: 创建文本:复制如下代码View Code @echo oncd /d c:\tempif not exist %windir%\system32\wbem goto TryInstallcd /d %windir%\system32\wbemnet stop winmgmtwinmgmt /killif exist Rep_bak rd Rep_bak /s /qrename Repository Rep_bakfor %%i in (*.dll) do RegSvr32 -s %%ifor %%i in (*.exe) do call :FixSrv %%ifor %%i in (*.mof 阅读全文
posted @ 2012-09-26 16:31 RyanRuan 阅读(4203) 评论(0) 推荐(0) 编辑
摘要: <!-- 指向链接图片url --> <base href="http://www.it365cn.com"> <div id=demo style=overflow:hidden;height:150;width:90;background:#214984;color:#ffffff> <div id=demo1> <!-- 定义图片 --> <img src="images/logo_1.gif"> <img src="images/logo/flashempir 阅读全文
posted @ 2012-09-20 11:38 RyanRuan 阅读(202) 评论(0) 推荐(0) 编辑
摘要: 测试的url地址是http://www.test.com/testweb/default.aspx, 结果如下: Request.ApplicationPath: /testweb Request.CurrentExecutionFilePath: /testweb/default.aspx Request.FilePath: /testweb/default.aspx Request.Path: /testweb/default.aspx Request.PathInfo: Request.PhysicalApplicationPath: E:\WWW\testweb\ Req... 阅读全文
posted @ 2012-09-20 09:28 RyanRuan 阅读(145) 评论(0) 推荐(0) 编辑
摘要: int iConn = 0; if (state1.sck1 != null) { if (state1.sck1.Connected) { if (state1.sck1.Poll(500, SelectMode.SelectRead)) { iConn = state1.sck1.Receive(state1.acBuff); if (iConn == 0) { //socket连接已断开 } } else { iConn = 1; //连接 } } } 阅读全文
posted @ 2012-08-10 16:39 RyanRuan 阅读(349) 评论(0) 推荐(0) 编辑
摘要: 引用:http://www.cnblogs.com/zsbfree/archive/2012/02/28/2371737.html安装方式,运行petapoco的类库,直接引用类库,调用即可。 阅读全文
posted @ 2012-08-03 16:19 RyanRuan 阅读(298) 评论(0) 推荐(0) 编辑
摘要: CSS:View Code @charset "utf-8";/* CSS Document */.datepicker { border-collapse: collapse; border: 2px solid #999; position: absolute; }.datepicker tr.controls th { height: 22px; font-size: 11px; }.datepicker select { font-size: 11px; }.datepicker tr.days th { height: 18px; }.datepicker tfo 阅读全文
posted @ 2012-08-01 15:38 RyanRuan 阅读(385) 评论(0) 推荐(0) 编辑
摘要: 直接贴上代码CSS:View Code body,ul,ol,li,p,h1,h2,h3,h4,h5,h6,table,td,th,form,fieldset,img,dl,dt,dd{margin:0px;padding:0px; font-family:Arial, Helvetica, sans-serif;}a{ color:#35679a; text-decoration:none;}a:hover{ color:#c00; text-decoration:underline;}img{ border:none;}li{ list-style:none;}body{ text-ali 阅读全文
posted @ 2012-08-01 09:56 RyanRuan 阅读(298) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Text;using System.Windows.Forms;using System.Data.OleDb;namespace AddressList{ public partial class FrmAccessUse : Form { public FrmAccessUse() { InitializeComponent(); } #re 阅读全文
posted @ 2012-07-26 10:11 RyanRuan 阅读(1182) 评论(0) 推荐(0) 编辑
View Code