<h1></h1>
Maciej Los: Does your DataGridView is bind with datasource? If yes, what kind of datasource: BindingSource, DataTable, DataSet? Primo Chalice: It is DataSet
Primo Chalice: It is DataSet
System.Data.DataTable table = new System.Data.DataTable("TheTable"); table.Columns.Add("Col1", typeof(string)); table.Columns.Add("Col2", typeof(string)); table.Columns["Col2"].ExtendedProperties.Add("MyProp", "Important column"); table.Rows.Add("A", "B"); table.Rows.Add("C", "D"); table.WriteXml("C:\\test.xml", System.Data.XmlWriteMode.WriteSchema);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)