Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Editing ODC file in C#
- <meta http-equiv=Content-Type content="text/x-ms-odc; charset=utf-8">
- <html xmlns:o="urn:schemas-microsoft-com:office:office"
- xmlns="http://www.w3.org/TR/REC-html40">
- <head>
- <meta http-equiv=Content-Type content="text/x-ms-odc; charset=utf-8">
- <meta name=ProgId content=ODC.Table>
- <meta name=SourceType content=OLEDB>
- <title>Title</title>
- <xml id=docprops><o:DocumentProperties
- xmlns:o="urn:schemas-microsoft-com:office:office"
- xmlns="http://www.w3.org/TR/REC-html40">
- <odc:Connection odc:Type="OLEDB">
- <odc:ConnectionString>"ConnectionString"</odc:ConnectionString>
- <odc:CommandType>Table</odc:CommandType>
- <odc:CommandText>"CommandText"</odc:CommandText>
- <odc:SSOApplicationID>testReport</odc:SSOApplicationID>
- <odc:CredentialsMethod>Stored</odc:CredentialsMethod>
- </odc:Connection>
- </odc:OfficeDataConnection>
- </xml>
- <style>
- <!--
- .ODCDataSource
- {
- behavior: url(dataconn.htc);
- }
- -->
- </style>
- </head>
Advertisement
Add Comment
Please, Sign In to add comment