打赏
上一页 1 ··· 49 50 51 52 53 54 55 56 57 ··· 60 下一页
摘要: window.open("index.aspx",'top'); 只是表示打开这个页面,并不是打开并刷新index.aspx window.location.href="index.aspx"; 表示重新定向到新页面,同时刷新打开的这个页面; eg: <tr><td style="width:96% 阅读全文
posted @ 2017-04-21 10:38 刘奇云 阅读(50876) 评论(0) 推荐(1)
摘要: 1, 最基本的弹出窗口代码 window.open('page.html');2, 经过设置后的弹出窗口 window.open('page.html', 'newwindow', 'height=100, width=400, top=0, left=0, toolbar=no, menubar= 阅读全文
posted @ 2017-04-21 10:29 刘奇云 阅读(2448) 评论(0) 推荐(0)
摘要: //如果为20171219 if (dt.Rows[i][title].ToString().Trim().Length == 8) { realDate = dt.Rows[i][title].ToString().Trim(); dt.Rows[i][title] = DateTime.Pars 阅读全文
posted @ 2017-04-20 14:46 刘奇云 阅读(2785) 评论(0) 推荐(0)
摘要: Ajax请求默认的都是异步的如果想同步 async设置为false就可以(默认是true)var html = $.ajax({ url: "some.php", async: false}).responseText; 或者在全局设置Ajax属性$.ajaxSetup({ async: false 阅读全文
posted @ 2017-04-19 10:22 刘奇云 阅读(110) 评论(0) 推荐(0)
摘要: using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Text; using System.Data; using System.Web.Script.Serialization; using System.Data.Common; usi... 阅读全文
posted @ 2017-04-19 10:13 刘奇云 阅读(481) 评论(0) 推荐(0)
摘要: 泛型类和泛型方法同时具备可重用性、类型安全和效率,这是非泛型类和非泛型方法无法具备的。泛型通常用在集合和在集合上运行的方法中。.NET Framework 2.0 版类库提供一个新的命名空间 System.Collections.Generic,其中包含几个新的基于泛型的集合类。建议面向 2.0 版 阅读全文
posted @ 2017-04-18 17:02 刘奇云 阅读(3464) 评论(0) 推荐(0)
摘要: typeof: The typeof operator is used to obtain the System.Type object for a type. 运算符,获得某一类型的 System.Type 对象。 Type t = typeof(int); GetType: Gets the T 阅读全文
posted @ 2017-04-18 16:55 刘奇云 阅读(646) 评论(0) 推荐(0)
摘要: var sql = @"SELECT w2.n, w1.* FROM dbo.[User] w1 RIGHT JOIN (SELECT TOP " + page*rows+ @" row_number() OVER(ORDER BY ID DESC) n, ID FROM dbo.[User]) w 阅读全文
posted @ 2017-04-14 14:43 刘奇云 阅读(317) 评论(0) 推荐(0)
摘要: public string GetNavigationsJson() { AjaxA_NAVIGATIONS ajaxnavigations = new AjaxA_NAVIGATIONS(); IList listnavigations = ajaxnavigations.GetNavigations(); ... 阅读全文
posted @ 2017-04-14 14:37 刘奇云 阅读(355) 评论(0) 推荐(0)
摘要: 准备一些测试数据,如下: use TestCreate table Student(ID int identity(1,1) primary key,[Name] nvarchar(50) not null)Create Table Book(ID int identity(1,1) primary 阅读全文
posted @ 2017-04-14 14:34 刘奇云 阅读(17365) 评论(0) 推荐(0)
上一页 1 ··· 49 50 51 52 53 54 55 56 57 ··· 60 下一页