摘要: ajax完整结构 .ajax({ url:"路径" ,//传输数据地址 data:{"传输名":"传输值"},//传输数据 type:"post",//传输数据类型 dataType:"json",//返回数据类型 async:true,是否线程 success:function(msg){},// 阅读全文
posted @ 2017-12-27 11:24 我勒个去YCQ 阅读(92) 评论(0) 推荐(0) 编辑
摘要: 基础语法:与C#一致 弹出框: alert();confirm(); 数据类型 var (string,decimal) 类型转换 parseInt() ; parseFloat(); isNaN(); 运算符:数学运算符:+ - * / ++ -- %关系运算符:== != >= <= > < 逻 阅读全文
posted @ 2017-12-25 00:28 我勒个去YCQ 阅读(92) 评论(0) 推荐(0) 编辑
摘要: 单页面传值 增加自定义属性进行传值; JS端用getAttribute(自定义属性名)接收; 如:<input type="button" class="shanchu" data-id="<%#Eval("ids") %>" value="删除" /> document.getElementsBy 阅读全文
posted @ 2017-12-25 00:17 我勒个去YCQ 阅读(127) 评论(0) 推荐(0) 编辑
摘要: CSS HTML JS 阅读全文
posted @ 2017-12-24 16:22 我勒个去YCQ 阅读(145) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2017-12-23 18:06 我勒个去YCQ 阅读(437) 评论(0) 推荐(0) 编辑
摘要: 表单元素(12个): 文本类: 选择类: 按钮类: 服务器控件: --简单控件: --复合控件: radio radioButton radioButtonList 单选checkbox checkbox checkboxList 多选select option DropDownList 单选 Li 阅读全文
posted @ 2017-12-19 11:27 我勒个去YCQ 阅读(116) 评论(0) 推荐(0) 编辑
摘要: 清流 <div style="clear:both"></div> 获取图片路径 var _heads = document.getElementsByClassName("heads_item"); for (var i = 0; i < _heads.length; i++) { _heads[ 阅读全文
posted @ 2017-12-17 22:51 我勒个去YCQ 阅读(114) 评论(0) 推荐(0) 编辑
摘要: 开头:StartsWith()结尾:EndsWith()模糊:Contains()个数:Count最大值:Max(r => r.price)最小值:Min(r => r.price)平均值:Average(r => r.price)求和:Sum(r => r.price)升序:OrderBy(r = 阅读全文
posted @ 2017-12-17 22:43 我勒个去YCQ 阅读(81) 评论(0) 推荐(0) 编辑
摘要: //新建一个项目//项目下新建一个App_Code文件夹//在文件夹内添加一个LINQ TO SQL,这个操作就相当于创建了一个实体类//连接数据库后把表拖入到服务器资源管理器中//创建数据访问类//创建连接字符串DBDataContext dbcontext = new DBDataContext 阅读全文
posted @ 2017-12-13 15:40 我勒个去YCQ 阅读(136) 评论(0) 推荐(0) 编辑
摘要: //创建邮件服务器对象 SmtpClient smtp = new SmtpClient("smtp.sina.cn"); //创建发件人对象 MailAddress from = new MailAddress("xxxxxxx@sina.cn"); //创建收件人对象 MailAddress t 阅读全文
posted @ 2017-11-30 15:20 我勒个去YCQ 阅读(113) 评论(0) 推荐(0) 编辑