DataSet ds = new DataSet();
DataTable table;
ds.ReadXml("c:\data.xml");
table = ds.Tables[0];//error: default type is string
table.Columns["sum"].DataType = Type.GetType("System.Int32");
DataTable table;
ds.ReadXml("c:\data.xml");
table = ds.Tables[0];//error: default type is string
table.Columns["sum"].DataType = Type.GetType("System.Int32");
table.Columns.Add("tag", typeof(String));
table.Columns.Add("sum", typeof(Int32));ds.ReadXml("c:\data.xml");
foreach (DataRow r in ds.Tables[0].Rows)
allChannel.ImportRow(r);