02 2014 档案
Enum 枚举
摘要:一:1.foreach (int val in Enum.GetValues(typeof(AppEnum.HarbourStatus))){ ddlStatus.Items.Add(new ListItem(Enum.GetName(typeof(AppEnum.HarbourStatus), val), val.ToString()));}ddlStatus.Items.FindByText(AppEnum.HarbourStatus.Avtal.ToString()).Selected = true;2.public enum HarbourStatus{ ... 阅读全文
posted @ 2014-02-25 11:37 cw_volcano 阅读(340) 评论(0) 推荐(0)
SQL Server触发器以及如何在SQL Server Manager中调试触发器
摘要:·只有inserted表有数据时,当前操作为insert;·inserted和deleted两张表都有数据时,当前操作为update;·只有deleted表有数据时,当前操作为delete。 1. 2. 3.如何调试触发器: 一、打开SQL查询分析器二、将以下Sql语句复制到查询窗口并运行use p 阅读全文
posted @ 2014-02-22 13:15 cw_volcano 阅读(15160) 评论(0) 推荐(0)
XML新增、修改、选择
摘要:using System;using System.Linq;using System.Xml.Linq;using DFS.Kiosk.Provider.Simulator.Common.Utilities;using DFS.Kiosk.Provider.Simulators.Utilities... 阅读全文
posted @ 2014-02-20 09:51 cw_volcano 阅读(362) 评论(0) 推荐(0)
IIS7配置https
摘要:To Install an SSL Certificate in Microsoft IIS 7ClickStart, mouse-overAdministrative Tools, and then clickInternet Services Manager.In theInternet Information Services (IIS) Managerwindow, select your server.Scroll to the bottom, and then double-clickServer Certificates.From theActionspanel on the r 阅读全文
posted @ 2014-02-19 09:46 cw_volcano 阅读(768) 评论(0) 推荐(0)
How to make project not set to be build
摘要:1.BUILD->Configuration Management...2.When you guys add new projects to the kiosk solution please be sure to remove them from the Release configuratio... 阅读全文
posted @ 2014-02-13 09:51 cw_volcano 阅读(176) 评论(0) 推荐(0)
机器更换登录密码重启,然后SQL Server登录不了
摘要:解决方法: 阅读全文
posted @ 2014-02-09 09:49 cw_volcano 阅读(185) 评论(0) 推荐(0)