How can we convert data displayed in a reportviewer to an xml file?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Call the .Render method, with the first parameter (format) equal to “XML”. Just like in the examples at http://msdn.microsoft.com/en-us/library/microsoft.reporting.webforms.localreport(VS.80).aspx — except use “XML” instead of “Excel” as the format (and of course something like .xml instead of .xsl as the format for the file you write;-).