Build your professional network on facebook via our app Go to app
sudeep chandra Software Developer, Center For Computational Engineering, PEC
 
Create knowledge [?]
 
(rate this)
Darpan Sinha  |  Answered  |  3 years ago
  protected void Button1_Click( object sender, EventArgs e) { Response.Redirect( "~/ttt.xls" ); } Just place the file on your webserver and give the location in the Redirect in this case i have placed it on the root of the website.
sudeep chandra  |  Answered  |  3 years ago
hi darpan.. thanks for giving me the solution, but there is a problem. your code is opening the excel seperately. i want to open excel sheet into the web page.
 
 
Answer: "how to open excel sheet in the web browser using c#.net" deleted from your view.
Undo
 
(rate this)
Darpan Sinha  |  Answered  |  3 years ago
  protected void Button1_Click( object sender, EventArgs e) { Response.Redirect( "~/ttt.xls" ); } Just place the file on your webserver and give the location in the Redirect in this case i have placed it on the root of the website.
sudeep chandra  |  Answered  |  3 years ago
hi darpan.. thanks for giving me the solution, but there is a problem. your code is opening the excel seperately. i want to open excel sheet into the web page.
 
 
Answer: "how to open excel sheet in the web browser using c#.net" deleted from your view.
Undo
Follow me on
TooStep
 
 
Contributions and Connections
 
 
70 Contribution Points
0
0 Expert Badges
[?]
9
Connections
9
Following
7
Followers
[?]