摘要: 数据类型,官方文档: https://docs.microsoft.com/en-us/office/vba/language/reference/user-interface-help/data-type-summary 查看变量类型 Sub sample() Dim str As String 阅读全文
posted @ 2022-02-13 16:26 今天起个早 阅读(28) 评论(0) 推荐(0) 编辑
摘要: 数字字符串互转 Sub sample() Dim a As String a = 10 Debug.Print a Dim b As Integer b = CInt(a) b = a + 1 Debug.Print b End Sub ASCII 和 字符互转 Sub sample() Dim s 阅读全文
posted @ 2022-02-12 18:01 今天起个早 阅读(23) 评论(0) 推荐(0) 编辑
摘要: 转载自:https://www.jianshu.com/p/fbabd5ed8e24function saveShareContent (content, fileName) { let downLink = document.createElement('a') downLink.download 阅读全文
posted @ 2022-02-04 15:39 今天起个早 阅读(516) 评论(0) 推荐(0) 编辑
摘要: 1.构造函数 ctor + Tab 阅读全文
posted @ 2017-07-13 13:56 今天起个早 阅读(75) 评论(0) 推荐(0) 编辑
摘要: 本文来自:http://www.cnblogs.com/yjss/articles/2065664.html 1.删除表 2.删除视图 3.删除存储过程 4.查看被锁表 5.清除锁死的表 阅读全文
posted @ 2016-06-04 10:00 今天起个早 阅读(229) 评论(0) 推荐(0) 编辑
摘要: 1.把一个数据库表中的数据插入到另外一个数据库中的一张表中 数据库表结构不同 数据库表结构相同 2.将一个表中的数据串成一个字符串,并分组 参考资料:http://www.cnblogs.com/doubleliang/archive/2011/07/06/2098775.html 3.查看Sql 阅读全文
posted @ 2016-05-29 23:35 今天起个早 阅读(141) 评论(0) 推荐(0) 编辑
摘要: 1.基础语法 create proc | procedure pro_name [{@参数数据类型} [=默认值] [output], {@参数数据类型} [=默认值] [output], .... ] as SQL_statements GO 2.创建不带参数存储过程 if (exists (se 阅读全文
posted @ 2016-03-12 17:01 今天起个早 阅读(164) 评论(0) 推荐(0) 编辑
摘要: 1.在类库上右键->添加新建项->ADO.NET 实体数据模型->默认Model1->来自数据库的EF设计器 2.新建数据库连接,一直下一步。 3.生成Model1.edmx文件,展开后会看到自己的数据库表对应的实体类及数据库操作类。 阅读全文
posted @ 2016-03-11 20:28 今天起个早 阅读(2939) 评论(0) 推荐(0) 编辑
摘要: 前端代码 <script type="text/javascript"> function readFiles(evt) { var files = evt.target.files; //console.log(files.length); if (!files) { alert("文件不支持") 阅读全文
posted @ 2016-02-17 16:49 今天起个早 阅读(1047) 评论(0) 推荐(0) 编辑
摘要: table加边框时,有时候有的地方是一条线,有的地方是两条线,非常难看。我们可以使用style="border-collapse: collapse;"消除重复的边框 <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title></titl 阅读全文
posted @ 2015-10-10 16:50 今天起个早 阅读(1763) 评论(0) 推荐(0) 编辑