会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
imihiro
上一页
1
···
5
6
7
8
9
10
11
12
13
···
15
下一页
C# DateTime赋值为null
摘要: DateTime和int,double一样,是值类型。在任何情况下都有值.解决方式是赋值一个不会被用的值,比如DateTime.MinValue;
阅读全文
posted @ 2012-06-18 10:20 imihiro
阅读(5696)
评论(0)
推荐(0)
SOP 中的 Service
摘要: Service Oriented Programming中。Service 就是开机自动运行的exe.在"服务"中右键 属性,可以查看对应的exe.
阅读全文
posted @ 2012-06-15 11:44 imihiro
阅读(204)
评论(0)
推荐(0)
SDE 远程连接
摘要: 描述: 安装了SDE9.3 For SQLServer,本机Catlog能连上.远程Catlog不能连上原因:SDE服务exe被防火墙禁止。解决方式: 找到sde服务exe,在服务上右键-->属性。 可执行文件路径:"C:\Program Files\ArcGIS\ArcSDE\sqlexe\bin\giomgr.exe“ 在控制面板-->window防火墙-->例外中添加giomgr.exe程序.
阅读全文
posted @ 2012-06-15 11:41 imihiro
阅读(384)
评论(0)
推荐(0)
SDE 远程连接 失败
摘要: 描述: 安装了SDE9.3 For SQLServer,本机Catlog能连上.远程Catlog不能连上原因:SDE服务exe被防火墙禁止。解决方式: 找到sde服务exe,在服务上右键-->属性。 可执行文件路径:"C:\Program Files\ArcGIS\ArcSDE\sqlexe\bin\giomgr.exe“ 在控制面板-->window防火墙-->例外中添加giomgr.exe程序.备注:防火墙阻止sqlsvr.exe和sqlBrowser.exe, 允许giomgr.exe, sde就能正常工作. 推荐做法:防火墙禁止sqlsvr.exe和sqlB
阅读全文
posted @ 2012-06-15 11:41 imihiro
阅读(603)
评论(0)
推荐(0)
C# DateTimePicker格式设置
摘要: //必须先设置Format属性为Custom,然后才能自定义格式 this.dtPicker.Format = DateTimePickerFormat.Custom; this.dtPicker.CustomFormat = "yyyy-MM-dd";效果为:2012-06-13yyyy代表年MM 代表月 (区分大小写)dd代表日期 (dddd代表星期几)具体请继续尝试
阅读全文
posted @ 2012-06-13 14:50 imihiro
阅读(15151)
评论(0)
推荐(1)
C# 正则表达式
摘要: (1)清除掉字符串中的所有<img/>标签 FrmUniscopeProfile frm = new FrmUniscopeProfile(); Regex regex = new Regex("<img .*/>"); //去除xml中的<img> MatchCollection matches = regex.Matches(htmlWin[0]); for (int i = 0; i <= matches.Count - 1; i++) { html...
阅读全文
posted @ 2012-06-12 17:11 imihiro
阅读(253)
评论(0)
推荐(0)
C# WebBrowser显示html字符串
摘要: public void NavigateToUrl(string url) { this.webBrowser1.Navigate(url); } public void ShowHtmlStr(string htmlStr) { this.webBrowser1.DocumentText = htmlStr; }
阅读全文
posted @ 2012-06-12 16:16 imihiro
阅读(7871)
评论(0)
推荐(0)
C# Math函数 字符串、整数装换
摘要: (1)16进制字符串转整数 //常用于string 颜色转 int color (例如#ffffff转 65535) string argb=node.SelectSingleNode("RenderStyle/PenStyle/PenColor").InnerText; int rgbValue = Convert.ToInt32(argb, 16); var colorSet = new string[] { "#ff880000", "#ffff0000", "#ff008800", "#ff00f
阅读全文
posted @ 2012-06-12 11:06 imihiro
阅读(642)
评论(0)
推荐(0)
C# 按钮美化技巧
摘要: (1)按钮 text设置成""(2)按钮backgroundImage设置成 想要的图片(3) ToolTip属性设置成 鼠标在上时的提示 (比如“搜索”、“删除”、“查找”)
阅读全文
posted @ 2012-06-08 16:14 imihiro
阅读(1768)
评论(0)
推荐(0)
C# TreeView Xml文件 处理优先级
摘要: xml文件作为“数据库”C# 类(如TrackManager,routparameter)作为 业务层类C# TreeView作为展示数据的界面处理技巧: 张弓先强, 擒贼先王 更新xml方法-->更新业务层类-->更新界面树
阅读全文
posted @ 2012-06-05 09:18 imihiro
阅读(296)
评论(0)
推荐(0)
上一页
1
···
5
6
7
8
9
10
11
12
13
···
15
下一页
导航
博客园
首页
联系
订阅
管理
公告