Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
539
How can can write the datas in the grid to a XML file
posted

Dear all

 

How can can write the datas in the grid to a XML  file.Is there any function provided by inftragistics

or

is it possible to assign the datsource of a grid to a dataset so that i can use the "writexml()" function  of the dataset to get the xml

 

Parents
  • 469350
    Offline posted

    fiessystems said:
    How can can write the datas in the grid to a XML  file.Is there any function provided by inftragistics

     

    No, the grid has no built-in XML export functionality. 

    fiessystems said:
    is it possible to assign the datsource of a grid to a dataset so that i can use the "writexml()" function  of the dataset to get the xml

    You can set the DataSource of the grid to a DataSet or DataTable, of course. But if you are using some other data source, the grid cannot convert the data into a DataTable or DataSet for you, if that's what you mean. 

    Basically, you will need to loop through the grid rows and create the XML yourself. 

     

Reply Children