05 2013 档案
摘要:static void GetServiceState() { /* 描述: 启动服务 * 添加引用: using System.ServiceProcess; using System.Management; */ const string ServiceName = "SQLSERVERAGENT"; Console.WriteLine(string.Format("启动服务:{0}"...
阅读全文
摘要:配置信息: JDK 1.6 Hibernate 3.3 mysql 5.6项目结构如下:hibernate.cfg.xml文件:<?xml version='1.0' encoding='UTF-8'?><!DOCTYPE hibernate-configuration PUBLIC "-//Hibernate/Hibernate Configuration DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd&
阅读全文
摘要:1.站点地图构建: /// <summary> /// 实现XML格式 站点地图输出 /// By:rhythmk.cnblogs.com /// </summary> public class SitemapResult : ActionResult { public SitemapResult(Sitemap sitemap) { this.Sitemap = sitemap; } public Sitemap Sitemap { get; private set; } ...
阅读全文
浙公网安备 33010602011771号