Advertisement
Guest User

Untitled

a guest
Jul 23rd, 2017
44
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.56 KB | None | 0 0
  1. protected void BtnChk_Click(object sender, EventArgs e)
  2. {
  3. Process.Start(@"\servervol1FilesBook1.xls");
  4. }
  5.  
  6. if (File.Exists(@"\serverFilesBook1.xls"))
  7. {
  8. ButCrear.Visible = false;
  9. BtnChk.Visible = true;`
  10.  
  11. }
  12.  
  13. function test() {
  14. var Excel = new ActiveXObject("Excel.Application");
  15. Excel.Visible = true;
  16. Excel.Workbooks.Open("teste.xlsx");
  17. }
  18.  
  19. function test() {
  20. var Excel = new ActiveXObject("Excel.Application");
  21. Excel.Visible = true;
  22. Excel.Workbooks.Open("/upload/teste.xlsx");
  23. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement