C#技术百科
问问你的心你有没有信心 做事情要专一坚定,执着
   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.Properties.ValueMember = "ID";
            lookUpEdit1.Properties.Columns.Add(new LookUpColumnInfo("ID", "标识", 100));
            lookUpEdit1.Properties.Columns.Add(new LookUpColumnInfo("Name", "姓名", 100));
            lookUpEdit1.Properties.Columns.Add(new LookUpColumnInfo("Sex", "性别", 100));
posted on 2013-05-20 16:44  王德田  阅读(958)  评论(0编辑  收藏  举报