会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
西楼月光
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
下一页
2015年9月19日
使用新建项目,引用底层库,运行时提示http://www.xinxizhan.cn/none-authorization.html。无授权解决方法
摘要: 在App.xaml中添加以下代码:
阅读全文
posted @ 2015-09-19 16:47 西楼月光
阅读(167)
评论(0)
推荐(0)
2015年9月15日
treeviewhelper用法,找child的UIElement
摘要: List infowindows = treeviewhelper.GetChildObjects(gridMap, ""); public class TreeViewHelper { public T GetParentObject(DependencyObject obj,...
阅读全文
posted @ 2015-09-15 11:35 西楼月光
阅读(373)
评论(0)
推荐(0)
2015年9月12日
用#FFFF2222的string生成color
摘要: private Color ToColor(string colorName) { if (colorName.StartsWith("#")) colorName = colorName.Replace("#", string.E...
阅读全文
posted @ 2015-09-12 11:32 西楼月光
阅读(2800)
评论(0)
推荐(0)
2015年8月27日
DataTemplate.LoadContent Method将resource中的datatemplate转换为UIElement,可以用于对象添加
摘要: https://msdn.microsoft.com/zh-cn/library/windows/apps/windows.ui.xaml.datatemplate.loadcontent.aspx ...
阅读全文
posted @ 2015-08-27 15:59 西楼月光
阅读(241)
评论(0)
推荐(0)
2015年8月6日
Server.Mappath
摘要: Server.MapPath 方法Server.MapPath 方法将虚拟路径 (/default.cshtml) 转换为服务器能够理解的物理路径 (C:\Johnny\MyWebSited\Demo\default.cshtml)。当需要打开位于服务器上的数据文件时,您就会用到该方法(数据文件只能...
阅读全文
posted @ 2015-08-06 10:08 西楼月光
阅读(161)
评论(0)
推荐(0)
2015年7月30日
回调函数
摘要: 我们绕点远路来回答这个问题。编程分为两类:系统编程(system programming)和应用编程(application programming)。所谓系统编程,简单来说,就是编写库;而应用编程就是利用写好的各种库来编写具某种功用的程序,也就是应用。系统程序员会给自己写的库留下一些接口,即API...
阅读全文
posted @ 2015-07-30 14:51 西楼月光
阅读(168)
评论(0)
推荐(0)
2015年7月13日
用where进行条件查询
摘要: newDP.DisasterType = types.Where(t => t.Type == newDP.DisasterType).First().Code;
阅读全文
posted @ 2015-07-13 09:14 西楼月光
阅读(323)
评论(0)
推荐(0)
2015年7月3日
NPOI用法。
摘要: 1、读入模板excelFileStream file = new FileStream(@"E:/数字县区/东源县/东源地灾地矿信息管理系统/其他文件/地灾导出excel模板test.xls", FileMode.Open, FileAccess.Read);hssfworkbook = new H...
阅读全文
posted @ 2015-07-03 10:34 西楼月光
阅读(505)
评论(0)
推荐(0)
2015年5月28日
[转].tostring设置格式。C# tostring 格式化输出
摘要: http://blog.csdn.net/hyynet09/article/details/4219488C 货币2.5.ToString("C")¥2.50D 十进制数25.ToString("D5")00025E 科学型25000.ToString("E")2.500000E+005F 固定点2...
阅读全文
posted @ 2015-05-28 17:09 西楼月光
阅读(232)
评论(0)
推荐(0)
2015年5月21日
【转】灵活运用 SQL SERVER FOR XML PATH。用于方便处理生成视图
摘要: http://www.cnblogs.com/doubleliang/archive/2011/07/06/2098775.html
阅读全文
posted @ 2015-05-21 16:40 西楼月光
阅读(227)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
下一页
公告