还是那个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";
}
posted @ 2011-08-10 15:32  小羽毛的天空  阅读(115)  评论(0编辑  收藏  举报