摘要: 1,省的ID,Name直接定义成类,实例化后添加的到ComBox(DropDrownList)中,DisplayMember设置为ProName2,绑定后SelectedIndex=0,显示绑定的第一个值3,Configure中设置连接字符串,ConfigurationManager 中得到字符串的值using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text; 阅读全文
posted @ 2012-12-17 22:17 sirili 阅读(507) 评论(0) 推荐(0) 编辑