还是那个form的combox绑定
编辑器加载中...
if (pid != "System.Data.DataRowView")
{
DataSet dsc = bbc.GetList("fid=1");
cbPCFour.DataSource = dsc.Tables[0].DefaultView;
cbPCFour.DisplayMember = "name";
cbPCFour.ValueMember = "Id";
}
编辑器加载中...
if (pid != "System.Data.DataRowView")
{
DataSet dsc = bbc.GetList("fid=1");
cbPCFour.DataSource = dsc.Tables[0].DefaultView;
cbPCFour.DisplayMember = "name";
cbPCFour.ValueMember = "Id";
}