摘要:
创建一个sqlserver对sqlserver的数据库链接:exec sp_addlinkedserver 'link_northsnow','','SQLOLEDB','远程服务器主机名或域名或ip地址'exec sp_addlinkedsrvlogin 'link_northsnow','fal... 阅读全文
摘要:
1.应用程序池的.net Framework版本2.IIS注册WCF以管理员身份运行命令行: "C:\Windows\Microsoft.NET\Framework\v3.0\Windows Communication Foundation\ServiceModelReg.exe" -r -y3需要... 阅读全文
摘要:
选中serviceProcessInstaller1组件,查看属性,设置account为LocalSystem选中serviceInstaller1组件,查看属性设置ServiceName的值, 该值表示在系统服务中的名称设置StartType, 如果为Manual则手动启动,默认停止,如果为Aut... 阅读全文
摘要:
摘要:概览 Windows Communication Foundation (WCF) 体系结构及其主要概念。代码示例演示 WCF 约定、终结点和行为。本页内容 简介 WCF 基础代码示例小结简介本文档提供 Windows Communication Foundation (WCF) 体系结构的概... 阅读全文
摘要:
典型的Windows服务程序包含了硬件控制、应用程序监视、系统级应用、诊断、报告、Web和文件系统服务等功能。1.创建Windows服务程序:Windows服务程序相关的命名空间涉及到以下两个:System.ServiceProcess和System.Diagnostics。其中System.Ser... 阅读全文
摘要:
一 设置固定大小的ToolStripButton设置固定大小的ToolStripButton很简单,ToolStripButton-->AutoSize属性设置为false,size调整为自己想要的大小即可。同时配合的是ToolStripButton所在的ToolStrip的属性设置,最关键的是Im... 阅读全文
摘要:
第一种方法转换字符串中汉字为其拼音缩写(C#)//将指定字符串中的汉字转换为拼音缩写,其中非汉字保留为原字符。 publicstringGetPinYin(stringtext) { charpinyin; byte[]array; System.Text.StringBuildersb=newSy... 阅读全文
摘要:
'xp_taskbar_desktop_fixall.vbs - Repairs the Taskbar when minimized programs don't show. '?Kelly Theriot and Doug Knox - 8/22/2003Set WSHShell = WScri... 阅读全文
摘要:
string sKey = username.Text.ToString().Trim(); // 得到Cache中的给定Key的值 string sUser = Convert.ToString(Cache[sKey]); // 检查是否存在 if (sUser == null || sUser ... 阅读全文
摘要:
新电影天降雄狮链接地址http://pan.baidu.com/play/video#video/path=%2F%E5%A4%A9JX%E5%B8%88.Dragon.Blade.2015.TC720P.X264.AAC.Mandarin%26English.CHS-ENG.Mp4Ba.mp4&t... 阅读全文