摘要: 原文:https://www.cnblogs.com/CyLee/p/8425183.html 手动挂载$mount() 如果没有挂载的话,没有关联的 DOM 元素。是获取不到$el的。 https://vuejs.org/v2/api/#vm-mount 阅读全文
posted @ 2019-07-08 10:32 gzh4455 阅读(479) 评论(0) 推荐(0) 编辑
摘要: 原文地址:http://www.admin10000.com/document/6408.html 在实际工作中,我们经常听到“架构”和“架构师”这样的名词,并不新鲜,但是总让很多刚入门的人感觉很神秘,甚至是高深莫测。很少有人对“架构”有全面的了解和认识能并说清楚架构是什么,更谈不上掌握了。事实上, 阅读全文
posted @ 2019-07-02 16:26 gzh4455 阅读(458) 评论(0) 推荐(0) 编辑
摘要: 创建 ExtendedSqlGenerator类 在Configuration类的构造函数里添加SetSqlGenerator("System.Data.SqlClient", new ExtendedSqlGenerator()); 阅读全文
posted @ 2019-04-12 17:40 gzh4455 阅读(492) 评论(0) 推荐(0) 编辑
摘要: 1. 比较宽松的HTML格式,样式如下面的Menu 样式 Test ... 阅读全文
posted @ 2013-07-29 16:51 gzh4455 阅读(265) 评论(0) 推荐(0) 编辑
摘要: 1. 兼容 IF IF 阅读全文
posted @ 2013-07-29 16:42 gzh4455 阅读(265) 评论(0) 推荐(0) 编辑
摘要: 主要是用到ScriptManger,老知识Mark一下,ScriptManager要EnablePageMethods="true"后台using System.Web.Script.Services;using System.Web.Services;[WebMethod] [ScriptMethod] public static string GetValue(string userID) { return userID+DateTime.Now.ToString(); } 前台 无标题页 ... 阅读全文
posted @ 2013-07-25 14:32 gzh4455 阅读(258) 评论(0) 推荐(0) 编辑
摘要: select a.name,case a.precision when 0 then case a.is_ansi_padded when 1 then convert(nvarchar(15),b.name+ '('+convert(nvarchar(10),a.max_length)+')') when 0 then b.name end else case a.scale when 0 then b.name else b.name+ '('+convert(nvarchar(10),a.precision)+','+con 阅读全文
posted @ 2013-06-13 09:39 gzh4455 阅读(158) 评论(0) 推荐(0) 编辑
摘要: declare @UserName varchar(400)declare @EM varchar(400)declare pcurr cursor for select UserName, ErrorMessage from ErrorLogopen pcurr fetch next from pcurr into @UserName,@EMwhile (@@fetch_status = 0) begin --set @Str=@Str+@ProductName print @UserName print @EM fetch next from pcurr into @User... 阅读全文
posted @ 2013-06-12 22:58 gzh4455 阅读(223) 评论(0) 推荐(0) 编辑
摘要: public static string strLDAP = "LDAP://Test.com"; public static void GetADMails(ref List<string> list, string strLoginName) { DirectoryEntry newEntry = new DirectoryEntry(strLDAP); strLoginName = strLoginName.Substring(strLoginName.LastIndexOf('\\') + 1); ... 阅读全文
posted @ 2013-06-05 09:45 gzh4455 阅读(416) 评论(0) 推荐(0) 编辑
摘要: 这个例子只是简单实现了如何使用 Socket 类实现面向连接的通信。注意:此例子的目的只是为了说明用套接字写程序的大概思路,而不是实际项目中的使用程序。在这个例子中,实际上还有很多问题没有解决,如消息边界问题、端口号是否被占用、消息命令的解析问题等。。这个例子只是简单实现了如何使用 Socket 类实现面向连接的通信。注意:此例子的目的只是为了说明用套接字写程序的大概思路,而不是实际项目中的使用程序。在这个例子中,实际上还有很多问题没有解决,如消息边界问题、端口号是否被占用、消息命令的解析问题等。下面是两个程序的代码,(两个程序均为控制台程序)先发服务端的(Server)完整代码如下:usin 阅读全文
posted @ 2013-06-03 09:44 gzh4455 阅读(240) 评论(0) 推荐(0) 编辑