摘要:
Combobox.Items.Add("A");//当..时添加(obj类型)//用的时候可能非简单添加ABCD//名称 + ID ,如省份名词+ID,但是只有1个参数建立Province类并重写tostringclass Province{//编写构造函数public Province(string id, string name){this.Id = id;this.Name = name;}public string Id{get;set;}public string Name{get;set;}public override string ToString(){re 阅读全文
posted @ 2013-03-29 20:40 ArRan 阅读(1550) 评论(0) 推荐(0) 编辑