//ProcessStartInfo Sinfo=new ProcessStartInfo("http://192.168.0.74/gethospitals_test.php?hid=3&sno=1"); //Process.Start(Sinfo); loadcombo(); } var xmlDocument = XDocument.Load(fileName);
XDocument xdoc = XDocument.Load("xmlfullfilename.xml"); DataTable dt = new DataTable(); dt.Columns.Add(new DataColumn("hname", typeof(string))); dt = xdoc.Descendants("hname") .Select(x=>dt.LoadDataRow(new object[]{x.Value}, false)) .CopyToDataTable(); this.comboBox1.DataSource = dt; this.comboBox1.DisplayMember = "hname";
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)