上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 17 下一页
摘要: 一、ajax验证表单元素规范正确与否 以用ajax来验证用户名是否被占用为例 1创建表单元素<input type="text" id="t"> 2在js中用keyup事件来进行操作 3创建ajax格式和内容:格式: $.ajax({ url:"哪一个服务端处理器", data:{"自己起名",所需 阅读全文
posted @ 2016-11-13 22:59 冲天小肥牛 阅读(215) 评论(0) 推荐(0) 编辑
摘要: 1.无缝轮播 <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %> <!DOCTYPE html> <html xmlns="http://www.w3.org/ 阅读全文
posted @ 2016-11-11 11:18 冲天小肥牛 阅读(884) 评论(0) 推荐(0) 编辑
摘要: (1)jquery放在head中必须先: <head runat="server"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <title></title> <script src="js/jquery 阅读全文
posted @ 2016-11-09 15:13 冲天小肥牛 阅读(142) 评论(0) 推荐(0) 编辑
摘要: 以Car表和Brand表为例,其中Car表的Brand是Brand表的Brandcode。 (1)建立两表的linq(一定要做好主外键关系,),创建之后不用修改,如要添加,另建文件。 (2)Car表的属性扩展(注意partial) using System; using System.Collect 阅读全文
posted @ 2016-11-07 21:13 冲天小肥牛 阅读(196) 评论(0) 推荐(0) 编辑
摘要: 完!!! 阅读全文
posted @ 2016-11-07 16:48 冲天小肥牛 阅读(200) 评论(0) 推荐(0) 编辑
摘要: <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %> <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xh 阅读全文
posted @ 2016-11-07 12:24 冲天小肥牛 阅读(205) 评论(0) 推荐(0) 编辑
摘要: 1.linq创建之前,一定要在sql做好数据表的主外键关系。 2.linq文件是以.dbml结尾,一般一个数据库的名字就是一个linq的名字 3,以实例来演示增删改查 数据库的名字为linq,里面有两个表Users(UserName,Password,Sex,NickName,Birthday,Na 阅读全文
posted @ 2016-11-06 21:18 冲天小肥牛 阅读(192) 评论(0) 推荐(0) 编辑
摘要: 封装类 using System; using System.Collections.Generic; using System.Web; /// <summary> /// Ha 的摘要说明 /// </summary> public class Ha { private string _Name 阅读全文
posted @ 2016-10-25 12:26 冲天小肥牛 阅读(135) 评论(0) 推荐(0) 编辑
摘要: 封装类 using System; using System.Collections.Generic; using System.Web; /// <summary> /// Car 的摘要说明 /// </summary> public class Car { private string _Co 阅读全文
posted @ 2016-10-24 20:20 冲天小肥牛 阅读(124) 评论(0) 推荐(0) 编辑
摘要: 获取Div 的height width等属性 <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default2.aspx.cs" Inherits="Default2" %> <!DOCTYPE html> <html xmlns="h 阅读全文
posted @ 2016-10-24 17:01 冲天小肥牛 阅读(117) 评论(0) 推荐(0) 编辑
上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 17 下一页