Link to home
Start Free TrialLog in
Avatar of ITsolutionWizard
ITsolutionWizardFlag for United States of America

asked on

xmlstring to excel

I have below xmlsring. It will be like string = xmlstring.

And when a download button is clicked, I want the xml string is downloaded to MS Excel so the user can have a file inside of the download folder.

Is it possible on MVC 4.0 website? We are using MVC 4.0 Razor engine. c#. Thanks

<Info>
 <Report>
  <Agent>John</Agent>
  <PolicyName>Eugene Ahlin</PolicyName>
  <Member>Eugene Ahlin</Member>
  <Type>Health</Type>
  <Carrier>Anthem Blue Cross</Carrier>
  <Status>Won</Status>
  <StatusDate>2015-04-08</StatusDate>
  <EffectiveDate>2015-05-01</EffectiveDate>
  <Premium>200</Premium>
  </Report>
 <Report>
  <Agent>Cullen</Agent>
  <PolicyName>Amy Bogdahn</PolicyName>
  <Member>Amy Bogdahn</Member>
  <Type>Health</Type>
  <Carrier>United HealthCare</Carrier>
  <Status>Won</Status>
  <StatusDate>2015-05-14</StatusDate>
  <EffectiveDate>2015-06-01</EffectiveDate>
  <Premium>10</Premium>
  </Report>
</Info>
ASKER CERTIFIED SOLUTION
Avatar of Mlanda T
Mlanda T
Flag of South Africa image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial