sxsean

2016年2月27日

xamarin.forms 版本自动更新(针对android)

摘要: 1.首先同过url地址下载文件,这里必须要启用单独一个下载线程 new Thread(run).Start(); 通过url下载的方法 public void run() { int receivedBytes = 0; int totalBytes = 0; string dirPath = "/ 阅读全文

posted @ 2016-02-27 09:46 sxsean 阅读(4460) 评论(0) 推荐(1) 编辑

2015年12月19日

xamarin for android 生成时“java.exe已退出 代码为1”

摘要: Xamarin Studio中创建了一个Android Application 运行时出现错误:C:\Program Files\MSBuild\Xamarin\Android\Xamarin.Android.Common.targets(3,3): Error MSB6006: “javac.ex... 阅读全文

posted @ 2015-12-19 14:25 sxsean 阅读(1513) 评论(0) 推荐(0) 编辑

2015年5月7日

easyui propertygrid 动态绑定

摘要: 从$.fn.datagrid.defaults继承,覆盖默认值$.fn.propertygrid.defaultspropertygrid 提供用户一个接口,浏览和编辑对象属性,propertygrid 是一个内联的datagrid编辑器,使用相当简单,用户可以很简单的创建一个分层可编辑属性列表,代... 阅读全文

posted @ 2015-05-07 17:36 sxsean 阅读(639) 评论(0) 推荐(0) 编辑

2013年7月12日

GridView导出excel格式问题

摘要: 在导出的点击事件中,代码如下://指定导出对应单元格为文本样式string style = @" ";Response.ClearContent();Response.AddHeader("content-disposition", "attachment; filename=MyExcelFile.xls");Response.ContentType = "application/excel";StringWriter sw = new StringWriter();HtmlTextWriter htw = ne 阅读全文

posted @ 2013-07-12 09:06 sxsean 阅读(1491) 评论(2) 推荐(1) 编辑