将页面的控件值给实体自动赋值
摘要:using System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Web.UI;using System.Web.UI.WebControls;using System.Reflection;using System.IO;using System.Text;namespace ProjectDemo.Common{ public static class EntityCopy { #region /// <summary> /// 通过搜索页面对应控件来构造M
阅读全文
posted @
2013-05-24 14:26
王德田
阅读(391)
推荐(0)
lookUpEdit 绑定数据的使用
摘要:lookUpEdit1.Properties.NullText = null; List<Person> list = new List<Person>(); list.Add(new Person() { ID=10001,Name="三毛1+1",Sex="男"}); this.lookUpEdit1.Properties.DataSource = list; this.lookUpEdit1.Properties.DisplayMember = "Name"; this.lookUpEdit1.Prope
阅读全文
posted @
2013-05-20 16:44
王德田
阅读(965)
推荐(0)
C# 字符串 转byte 数组和byte数组转 字符串函数
摘要:C# 字符串 转byte 数组和byte数组转 字符串函数
阅读全文
posted @
2011-08-03 14:42
王德田
阅读(946)
推荐(0)
C#每天一学之checked&unchecked
摘要:C#每天一学之checked&unchecked
阅读全文
posted @
2011-02-28 18:01
王德田
阅读(397)
推荐(0)