摘要: LINQ语法Attention:必须以Select 或Group by 结束语法: from 临时变量 in 集合对象或数库对象 where 条件表达式 [order by 条件] select 临时变量被查询的值 [group by 条件] Example1:class Program{ static void main(string[] args) { int[] arr=new int[]{8,5,59,3,56,4,1,34,56}; var m=from nin arrr where n<5 order by n select n; foreac... 阅读全文
posted @ 2012-01-31 12:34 俏君 阅读(160) 评论(0) 推荐(0)
摘要: webconfig加密.csusing System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Web.UI;using System.Web.UI.WebControls;using System.Web.Configuration;using System.Configuration;namespace WebConfig加密{ public partial class index : System.Web.UI.Page { protected void Page_Lo 阅读全文
posted @ 2012-01-29 13:27 俏君 阅读(215) 评论(0) 推荐(0)