上一页 1 ··· 7 8 9 10 11 12 下一页
摘要: take 前几 skip 跳过前几 takeWhile SkipWhile Union //求并集 1 int[] numbersA = { 0, 2, 4, 5, 6, 8, 9 }; 2 int[] numbersB = { 1, 3, 5, 7, 8 }; 3 4 var uniqueNumb 阅读全文
posted @ 2018-01-22 14:31 乌柒柒 阅读(283) 评论(0) 推荐(0) 编辑
摘要: efEntities tc = new efEntities(); 显式 LINQ 语法的一个好处是它使操作符顺序更加明确。对于前一个示例,可以很清楚的看到它从 employees 集合开始,然后调用 Where(),最后调用 Select()。 Linq To Entity表达式查询 基本查询:v 阅读全文
posted @ 2018-01-22 13:14 乌柒柒 阅读(134) 评论(0) 推荐(0) 编辑
摘要: 1.HTTP请求格式: <request line> <headers> <blank line> [<request-body>] 在HTTP请求中,第一行必须是一个请求行(request line),用来说明请求类型、要访问的资源以及使用的HTTP版本。紧接着是一个首部(header)小节,用来 阅读全文
posted @ 2018-01-19 09:31 乌柒柒 阅读(4612) 评论(0) 推荐(0) 编辑
摘要: 1.创建服务引用 例如:天气预报 2.在代码添加引用空间 1 TvProgram.ChinaTVprogramWebService tp = new TvProgram.ChinaTVprogramWebService(); 2 DataSet ds= tp.getAreaDataSet(); 3. 阅读全文
posted @ 2017-12-06 10:05 乌柒柒 阅读(439) 评论(0) 推荐(0) 编辑
摘要: <asp:Accordion ID="Accordion1" runat="server" ContentCssClass="content" HeaderCssClass="header" > <Panes> <asp:AccordionPane ID="Pane1" runat="server" 阅读全文
posted @ 2017-10-16 11:56 乌柒柒 阅读(211) 评论(0) 推荐(0) 编辑
摘要: <%# Bind("Subject") %> //绑定字段<%# Container.DataItemIndex + 1%> //实现自动编号<%# DataBinder.Eval(Container.DataItem, "[n]") %>通常使用的方法(这三个性能最好)<%# DataBinder 阅读全文
posted @ 2017-07-21 18:26 乌柒柒 阅读(125) 评论(0) 推荐(0) 编辑
摘要: Cookie //将数据保存到Cookie //Cookie是一个字典 //如果没有指定Cookie的保存时间,则这个Cookie是临时Cookie //临时Cookie只要浏览器一关闭,就取消 //Response.Cookies["account"].Value = txt1.Text; //如 阅读全文
posted @ 2017-07-15 16:01 乌柒柒 阅读(175) 评论(0) 推荐(0) 编辑
摘要: "window.location.href"、"location.href"是本页面跳转 "parent.location.href"是上一层页面跳转 "top.location.href"是最外层的页面跳转 举例说明: 如果A,B,C,D都是jsp,D是C的iframe,C是B的iframe,B是 阅读全文
posted @ 2017-07-13 15:20 乌柒柒 阅读(213) 评论(0) 推荐(0) 编辑
摘要: declare @ID int declare @Oid int declare @Login varchar(50) --定义一个游标 declare user_cur cursor for select ID,Oid,[Login] from ST_User --打开游标 open user_c 阅读全文
posted @ 2017-06-24 15:02 乌柒柒 阅读(188) 评论(0) 推荐(0) 编辑
摘要: --while循环计算1到100的和 declare @a int declare @sum int set @a=1 set @sum=0 while @a<=100 begin set @sum+=@a set @a+=1 end print @sum --if,else条件分支 if(1+1= 阅读全文
posted @ 2017-06-24 15:00 乌柒柒 阅读(902) 评论(0) 推荐(0) 编辑
上一页 1 ··· 7 8 9 10 11 12 下一页