摘要: SqlConnection Conn=....//初始化,comboBox1绑定客户表string Sql= "select customerName from customer";DataSet Ds= new DataSet();SqlDataAdapter Da= new SqlDataAdapter(Sql, Conn);Da.Fill(Ds, "customer");comboBox1.DataSource = Ds.Tables["customer"];comboBox1.DisplayMember = "cus 阅读全文
posted @ 2013-01-07 15:40 混蛋程序员 阅读(516) 评论(0) 推荐(0)