Posted 22 May 2019, 6:48 pm EST
I have an application that delivers my data in XML. Can I load the results in the True DBGrid? Is it bindable? Any examples would be appreciated.
Forums Home / ComponentOne / WinForms Edition
Posted by: eddiesweber on 22 May 2019, 6:48 pm EST
Posted 22 May 2019, 6:48 pm EST
I have an application that delivers my data in XML. Can I load the results in the True DBGrid? Is it bindable? Any examples would be appreciated.
Posted 23 May 2019, 3:28 am EST
Hello,
There no direct way to bind XML with C1TrueDBGrid. You need to convert XML to DataTable then bind the DataTAble with C1TrueDBGrid. You can refer to the following link to convert XML to DataTable.
https://docs.microsoft.com/en-us/dotnet/api/system.data.datatable.readxml?view=netframework-4.8
Hope it helps.
Thanks.