上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 26 下一页
  2012年11月17日
摘要: 测试PhoneGap运行直接弹出对话框 提示:errror initializing phoneGap:class not found提示无法初始化PhoneGap原因是我朋友传给我的plugins.xml是老版本,我是新在http://www.phonegap.cn/?page_id=442#android下载的出错是因为plugins.xml中的路径修改了原来路径是org.apache.cordova.**新版是com.phonegap.**晕找了半天才找到原因 阅读全文
posted @ 2012-11-17 16:05 freexiaoyu 阅读(970) 评论(0) 推荐(1) 编辑
  2012年10月25日
摘要: 修改http://www.cnblogs.com/freexiaoyu/archive/2012/08/21/2649333.html用法还是原来的JSON格式Model类View Code namespace Maticsoft.Model{ /// <summary> ///返回JSON属性 /// </summary> [Serializable] public class BackInfo<T> { /// <summary> /// 状态 /// </summary> public Strin... 阅读全文
posted @ 2012-10-25 15:48 freexiaoyu 阅读(20035) 评论(0) 推荐(0) 编辑
  2012年10月19日
摘要: ///<summary>///请求JAVA接口带SOAP验证///</summary>///<param name="URL">请求URL</param>///<param name="MethodName">请求方法名</param>///<param name="Pars">请求方法参数</param>///<returns>string</returns>publicstaticstringGetData(St 阅读全文
posted @ 2012-10-19 14:46 freexiaoyu 阅读(1563) 评论(6) 推荐(1) 编辑
摘要: 下载地址 :http://ueditor.baidu.com/website/这里我下载的.NET GBK下载后解压将整个文件复制网站下面路径随便,我放在根目录下面文件名Ueditor ,在页面引用 <script src="Ueditor/editor_all.js" type="text/javascript"></script> <script src="Ueditor/editor_config.js" type="text/javascript"></script 阅读全文
posted @ 2012-10-19 14:43 freexiaoyu 阅读(11813) 评论(0) 推荐(0) 编辑
  2012年10月18日
摘要: 首先创建二个XtraReport一个是主一个是从主:在Detail里面加三个xrSubreport控件View Code /// <summary> /// 打印 /// </summary> /// <param name="ds">数据集</param> /// <param name="PrinterName">打印机名称</param> public NewSuNingReport(DataTable dt1, DataTable dt2, DataTable dt3, st 阅读全文
posted @ 2012-10-18 13:48 freexiaoyu 阅读(958) 评论(0) 推荐(0) 编辑
  2012年10月10日
摘要: 连接Excel 提示 从索引 166 处开始,初始化字符串的格式不符合规范。原来机器只安装的wps测试没问题 连接字符串是String.Format(@"Provider=Microsoft.Ace.OleDb.12.0;Persist Security Info=False;Data Source={0};Extended Properties=\Excel 12.0;HDR=YES;IMEX=1;\", FilePath);出错原因是Extended Properties里面的内容没有加引号String.Format(@"Provider=Microsoft. 阅读全文
posted @ 2012-10-10 11:44 freexiaoyu 阅读(2067) 评论(0) 推荐(0) 编辑
  2012年9月21日
摘要: 假如你的连接是http://192.168.1.31:8080/webapi/services/StudentService在你的项目右添加服务引用http://192.168.1.31:8080/webapi/services/StudentService?WSDL ServiceReference1.StudentServicePortTypeClient client = new ServiceReference1.StudentServicePortTypeClient(); MessageBox.Show(client.getJsonDataByName("xi... 阅读全文
posted @ 2012-09-21 11:12 freexiaoyu 阅读(10516) 评论(2) 推荐(0) 编辑
摘要: 原因是config节点中多了endpoint相同节点删除不用的即可,不知道为什么我添加JAVA WebService时候出现二个连接。或使用ServiceReference1.StudentServicePortTypeClient client = new ServiceReference1.StudentServicePortTypeClient("StudentServiceHttpSoap11Endpoint");手动指定config中的name 阅读全文
posted @ 2012-09-21 11:09 freexiaoyu 阅读(7673) 评论(2) 推荐(2) 编辑
  2012年9月20日
摘要: View Code protected override DevExpress.XtraGrid.Columns.GridColumnCollection CreateColumnCollection() { return new MyGridColumnCollection(this); } protected override DevExpress.XtraGrid.Columns.ColumnFilterInfo CreateFilterRowInfo(DevExpress.XtraGrid.Columns.GridCo... 阅读全文
posted @ 2012-09-20 11:21 freexiaoyu 阅读(3012) 评论(0) 推荐(0) 编辑
摘要: View Code protected override string OnCreateLookupDisplayFilter(string text, string displayMember) { List<CriteriaOperator> subStringOperators = new List<CriteriaOperator>(); foreach (string sString in text.Split(' ')) { string exp = DevExpre... 阅读全文
posted @ 2012-09-20 10:55 freexiaoyu 阅读(819) 评论(0) 推荐(1) 编辑
上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 26 下一页