- 博客(16)
- 收藏
- 关注
转载 Sqlserver R2 安装报 Visual Studio 2008 早期版本问题
一个很简单的问题,自己收藏一下。1、打上Microsoft Visual Studio 2008的SP1补丁;2、打开命令行(cmd), 输入:SQL安装盘符或安装目录\setup /action=install /skiprules=VSShellInstalledRule 3、回车,然后按步骤安装即可。转载于:https://www.cnblogs.com...
2012-08-16 09:43:00
194
转载 利用C#还原数据库(SQL SERVER)备份文件到指定路径
最近在做一个数据采集模块,遇到这样一个场景,就是需要将数据库备份文件还原到指定数据库实例下再采集数据。本机测试都没有问题,可一拿到真实环境中测试却发现了一个很大的Bug。所有的数据库都还原不上,很纠结。因为我本以为SQL SERVER 会还原到默认路径下,其实不然。 当我拿到真实数据库备份文件时,我首先在数据库中运行 restore database RestoreDbName...
2011-12-14 19:08:00
484
转载 InstallScript Project 如何使用Property?
需求: 通过IsCmdBld.exe 参数的方式生成不同的快捷方式的安装包。设想: 在脚本中通过AddFolderIcon的确可以实现创建不同的快捷方式,可是需要在制作安装包的时候将值写进安装包。第一步:使用Path Variables,的确 IsCmdBld.exe -l 可以实现,可是在脚本中好像无法使用Path Variables?不知道是...
2011-08-23 23:43:00
196
转载 C# 创建 Access数据库及表
1:解决方案资源管理器-->引用-->(右键)添加引用-->COM-->Microsoft ADO Ext. 2.8 for DDL and Security2:创建数据库 string dbName = @"d:\newaccess.mdb"; ADOX.CatalogClass access = new A...
2011-07-04 16:42:00
265
转载 wcf 消息拦截
说明:命名空间为:WcfServiceInterpector1:新建继承自IDispatchMessageInspector的ServiceInterpector类ServiceInterpector类 1 public class ServiceInterpector : IDispatchMessageInspector 2 { 3 4 ...
2011-05-17 18:35:00
180
转载 用程序实现邮件频发系统注意事项
1、网易邮箱:企业邮箱:单个用户每天最多只能发送 1000 封邮件。单个邮件最多包含 500 个收件人邮箱地址。163VIP邮箱:每天限制最多能发送800封邮件。163 、 126 、 yeah 的邮箱:一封邮件最多发送给40个收件人 , 每天发送限额为 50 封。2、尚易企业邮箱:一个 IP 一分钟最多发送 400 个邮件地址。一封邮件最多 200 个邮...
2011-04-18 09:27:00
817
转载 Convert Between Class And Xml
public T DeSerializer<T>(string serializer) { DataContractSerializer ser = new DataContractSerializer(typeof(T)); MemoryStream ms = new MemoryStre...
2011-04-08 18:32:00
110
转载 DEV ComboBoxEdit 实现 键值
定义combox绑定类:public class ComboxData { public string Text{ set; get; } public string Value{ set; get; } public override string ToString() { ...
2011-04-08 18:21:00
484
转载 DEV ImageComboxEdit 使用
初始化: DevExpress.XtraEditors.ImageComboBoxEdit imageComboBox=new DevExpress.XtraEditors.ImageComboBoxEdi();图片容器: DevExpress.Utils.ImageCollection ima...
2011-04-08 18:12:00
505
转载 DEV ComboBoxEdit 禁止 编辑
winform中的ComBox都知道有DropDownStyle:当我们选中DropDownList就实现了我们想要的功能那么在ComboBoxEdit中呢?找到TextEditStyle:选中 DisableTextEditor属性 就可以了转载于:https://www.cnblogs.com/WuLong/archive/2011/03/03/1969671.html...
2011-03-03 10:53:00
1100
转载 C# 获得系统文件图片的 改进方式
这是在网上看到的一段代码 用来获得系统文件对应的图标 ,仅以获得小图标为列 #region DLLIMPORT // Retrieves information about an object in the file system, // such as a file, a folder, a direc...
2011-03-01 10:21:00
177
转载 C# Xml
XmlDocument document = new XmlDocument(); //create the xmldocumentdocument.Load(xmlpath); //load xml by the absoult pathXmlNodeList nodeList = document.GetElementsByTa...
2011-03-01 00:23:00
145
转载 FileVersionInfo FileInfo
FileVersionInfo fv = FileVersionInfo.GetVersionInfo(filepath);get the version of the file :fv.FileVersionFileInfo fi =new FileInfo(filepath);fi.FullName:absolute pathfi.Nam...
2011-03-01 00:18:00
205
转载 using BAT to setup windows service
First of all ,we must copy thengen.exe andInstallUtil.exe to the windows service directory ,if we want to use the relative pathregist windows service Bat: ...
2011-02-24 19:04:00
144
转载 Method as a method parameters
We all know that a method parameters which always contains value type and reference type.But it is so abstract to transmit a method to method.This paper,I will give the answer. Delegate:Delegat...
2010-11-21 16:16:00
147
转载 Usually Type Converter In Socket Transfor
As a chsarp developer ,you must have learned the socket ,and you know that the data transfor by network should be rely on byte or xml.There I will give the usually type converter in socket tr...
2010-11-19 22:16:00
169
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人