AutoCAD.Net/C#.Net QQ群:193522571 ComBobox绑定Datatable并去除重复!
DataTable dtDistinct = dtMain.DefaultView.ToTable(true, "BigType");
cbBitType.DataSource = dtDistinct.Select("distinct BigType");
DataTable dtDistinct = dtMain.DefaultView.ToTable(true, "BigType");
cbBitType.DataSource = dtDistinct.Select("distinct BigType");