program Demo1;{ Create Date: 2014-06-29 Author: P.S.M 1.接口Demo1}{$APPTYPE CONSOLE}uses SysUtils;{定义接口}type ITestInterface = interface {GUID通过CTR...
分类:
其他好文 时间:
2014-07-07 14:02:00
阅读次数:
177
Hyper-V是微软的虚拟化平台,笔者在使用的过程中偶尔会遇到虚拟机不稳定的状态(如一直Stopping和Starting,以及其他未知状态)。笔者对此的解决办法是直接上大招结束进程,但是在任务管理中发现这些虚拟机都是用GUID命名的。如何才能找到虚拟机对应的GUID呢?笔者总结了两个办..
分类:
其他好文 时间:
2014-07-04 06:39:29
阅读次数:
265
SharePoint 2013 Client Object Mode在创建Content Type时有一个限制,不能给Content Type指定一个GUID,只能由系统随机生成。而在用farm solution部署时,则可以在xml中指定好Content Type的GUID,或者用服务器端对象模型...
分类:
其他好文 时间:
2014-07-03 20:49:00
阅读次数:
214
本人公司电脑型号为HPfolio9740m,用windows7自带的修复工具,恢复windows标准镜像文件,出现如下错误:Thesystemp_w_picpathrestorefailed.Windowscannotrestoreasystemp_w_picpathtoacomputerthanhasdifferentfirmware.Thesystemp_w_picpathwascreatedonacomputerusingBIOSand..
protected void Page_Load(object sender, EventArgs e) { string guid = Request.QueryString["GUID"]; string sql = "select XSMC,FJMC,LJ from T_AQGL_FJ whe...
分类:
Web程序 时间:
2014-06-27 00:58:18
阅读次数:
356
1.如果com是由.net实现 则在用自定义互操作集时,会发生类型转换错误。如下: [ComImport] [Guid("06521B83-FDE4-4882-9E29-3812D6A59AA8")] class NetComponentWraper { } [ComImport] [CoClass...
分类:
其他好文 时间:
2014-06-26 20:39:55
阅读次数:
217
在C#中的语法:Console.WriteLine(System.Guid.NewGuid());Console.ReadKey();System.Guid.NewGuid().ToString()全球唯一标识符,是一个字母数字标识符,用于指示产品的唯一性安装.在很多流行软件应用程序,例如浏览器媒体...
分类:
其他好文 时间:
2014-06-26 19:31:57
阅读次数:
162
添加cookies: public const string cookies_Name = "e-biz"; string GUI = System.Guid.NewGuid().ToString("N"); ...
分类:
其他好文 时间:
2014-06-26 19:22:49
阅读次数:
180
在Asp.Net中写了一个附件上传和下载的程序,附件上传到数据库中,然后将附件的GUID保存起来,我们可以根据GUID来找到数据库中的附件,一般附件下载的代码是: Code highlighting produced by Actipro CodeHighlighter (freeware) ht....
分类:
Web程序 时间:
2014-06-25 13:19:53
阅读次数:
214
产品的增删改查 l Model: Products.cs public class Products { public System.Guid Id { get; set; } public System.String Name { get; set; } public System.String ...
分类:
其他好文 时间:
2014-06-25 09:43:43
阅读次数:
291