标签:
1 List<string> list = new List<string>(); 2 foreach (DataTable dt in ds.Tables) 3 { 4 5 list.Add(dt.TableName); 6 7 8 } 9 toolStripCmb.ComboBox.DataSource = list;
获取DataSet的Table名,绑定到Combox
原文地址:http://www.cnblogs.com/babybabygirl/p/4380477.html