Raja

Raja

  • NA
  • 2k
  • 356.9k

How to open excel doc in aspx page?

Nov 25 2016 12:36 AM
how to view the excel document in aspx page using iframe.how to use this one i have used .
 

<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" ContentType="application/vnd.ms-excel" %>

 <iframe src="" width="400" height="300" ></iframe>
 
i have used  above code but the excel file is directly downloaded not opened how to do it.

Answers (3)