![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
心得
娃娃鸭
这个作者很懒,什么都没留下…
展开
-
在母版页和子页面之间传递数据
在母版页和子页面之间传递数据 引入数据 MyMasterPage.master [code] [/code] MyMasterPage.master.cs [code] using System; using S...原创 2011-06-01 15:20:06 · 543 阅读 · 0 评论 -
lambda表达式1
Lambda表达式 Sample 1 [code] using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ConsoleApplication1 { public delegate int mydg(int a,int b); ...原创 2011-06-03 09:01:06 · 73 阅读 · 0 评论 -
lambda表达式3
强类型DataContext NorthwindDataContext.cs [code] using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Data.Linq; using System.Data; namespace Dan...原创 2011-06-04 21:15:36 · 112 阅读 · 0 评论 -
lambda表达式4
查看命令 Default3.aspx.cs [code] using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using DannyWeb; usin...原创 2011-06-05 20:49:14 · 102 阅读 · 0 评论 -
lambda表达式5
示例数据库 [code] 字段名 字段类型 允许空 字段说明 ID uniqueidentifier 表主键字段 UserName varchar(50) 留言用户名 PostTime datetime 留言时间 Message varchar(400) √ 留言内容 IsReplied bit 留言是否回复 ...原创 2011-06-08 12:29:32 · 268 阅读 · 0 评论 -
通过反射写SQL
[code] private string Trans2Sql(T t, dbOperType dot) { Type type = t.GetType(); string result = ""; PropertyInfo[] properties = type.GetProperties()...原创 2011-06-14 22:18:15 · 147 阅读 · 0 评论