将一个的datatable绑定到下拉框,指定显示某列的数据
cbx.DataSource = null;
DataSet dsJH = new DataSet();
OperatePort.Operate_Block("select", 0, qkmc, "", 1, 1, "", out dsJH);
if (!Common.JudgeDs(dsJH))
{
cbx.DataSource = dsJH.Tables[0];
cbx.DisplayMember = "井号";
}
原文:http://www.cnblogs.com/hongmaju/p/4441439.html