Guest User

Untitled

a guest
Jun 26th, 2012
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.95 KB | None | 0 0
  1. Editing ODC file in C#
  2. <meta http-equiv=Content-Type content="text/x-ms-odc; charset=utf-8">
  3.  
  4. <html xmlns:o="urn:schemas-microsoft-com:office:office"
  5. xmlns="http://www.w3.org/TR/REC-html40">
  6.  
  7. <head>
  8. <meta http-equiv=Content-Type content="text/x-ms-odc; charset=utf-8">
  9. <meta name=ProgId content=ODC.Table>
  10. <meta name=SourceType content=OLEDB>
  11. <title>Title</title>
  12. <xml id=docprops><o:DocumentProperties
  13. xmlns:o="urn:schemas-microsoft-com:office:office"
  14. xmlns="http://www.w3.org/TR/REC-html40">
  15. <odc:Connection odc:Type="OLEDB">
  16. <odc:ConnectionString>"ConnectionString"</odc:ConnectionString>
  17. <odc:CommandType>Table</odc:CommandType>
  18. <odc:CommandText>"CommandText"</odc:CommandText>
  19. <odc:SSOApplicationID>testReport</odc:SSOApplicationID>
  20. <odc:CredentialsMethod>Stored</odc:CredentialsMethod>
  21. </odc:Connection>
  22. </odc:OfficeDataConnection>
  23. </xml>
  24. <style>
  25. <!--
  26. .ODCDataSource
  27. {
  28. behavior: url(dataconn.htc);
  29. }
  30. -->
  31. </style>
  32.  
  33. </head>
Advertisement
Add Comment
Please, Sign In to add comment