摘要: html文件 <body> <div id="example"> <!-- 定义grid显示的元素范围 --> <div id="grid"></div> <script> var products = [{ ProductID: 1, ProductName: "Chai", SupplierID 阅读全文
posted @ 2020-03-23 10:41 萌髦 阅读(1294) 评论(0) 推荐(0) 编辑
摘要: 下载:window.open(url, '_blank') 打开新标签页: window.open('url?参数名=' + encodeURIComponent(参数), 'index') 换行显示: js : meetingModel.requirement = '1.我不知道。\n2.我不知道 阅读全文
posted @ 2019-01-02 16:35 萌髦 阅读(68) 评论(0) 推荐(0) 编辑
摘要: JS的编码、解码及C#中对应的解码、编码 1、escape 定义和用法 escape对字符串数据编码,如果是对url进行编码必须用encodeURI或是encodeURLComponent,解码使用:unescape。 返回值 字符集是unicode,编码成16进制。 说明 不编码字符有69个:特殊 阅读全文
posted @ 2018-12-28 15:11 萌髦 阅读(132) 评论(0) 推荐(0) 编辑
摘要: 面试题:https://www.cnblogs.com/91weige/p/8542734.html https://download.csdn.net/download/konglingkang/596959 EF(linq): http://www.docin.com/p-870200270.h 阅读全文
posted @ 2018-07-30 17:24 萌髦 阅读(110) 评论(0) 推荐(0) 编辑
摘要: SQL Server 技术水平测试题 一、 语言测试题 (50分) 注:只需写出语句,不必列出执行结果 前提:假设现有两张表,以【A0190】(人员编号)为关联。表结构分别如下描述: A01 (人员信息表) 序号 字段名称 中文描述 数据类型 数据长度 属性 1 A0190 人员编号 字符 16 主 阅读全文
posted @ 2018-03-10 09:54 萌髦 阅读(401) 评论(0) 推荐(0) 编辑
摘要: 代码背景: 当你取钱时,把取钱的短信发到手机同时把信息发到邮箱 using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;namespa 阅读全文
posted @ 2018-01-29 20:24 萌髦 阅读(93) 评论(0) 推荐(0) 编辑
摘要: 新建ValidateCode.ashx页面 把下面的代码复制 using System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Web.SessionState;namespac 阅读全文
posted @ 2018-01-29 20:22 萌髦 阅读(124) 评论(0) 推荐(0) 编辑
摘要: DAL层 using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;using Model;using System.Data;usin 阅读全文
posted @ 2018-01-29 20:14 萌髦 阅读(789) 评论(0) 推荐(0) 编辑
摘要: JQuery: var $isChecked = $("#id").is(":checked"); alert($isChecked); JS: var $id = document.getElementById("id"); alert($id.checked); Notes: JQuery中,i 阅读全文
posted @ 2018-01-18 14:38 萌髦 阅读(127) 评论(0) 推荐(0) 编辑
摘要: 优点: 1.简洁的Linq to Sql语句大大提高了开发人员的效率,不要再写复杂的sql语句; 2.不再需要再管应用程序如何去连接数据库; 3.EF可以用作用于数据服务和OData Service的基础设施; 缺点: 1.由于linq语句编译之后就是sql,对于这种自动生成的sql语句无法控制; 阅读全文
posted @ 2018-01-16 16:48 萌髦 阅读(662) 评论(0) 推荐(0) 编辑