for example you can do something like this :
Load all tables in an XML File to dataset , loop through it , add table names to combobox .
Code:System.Data.DataSet ds=new DataSet(); ds.ReadXml("data.xml"); for(int i = 0; i < ds.Tables.Count - 1; i++) { this.comboBox1.Items.Add(ds.Tables[i].TableName); }





Reply With Quote