Hi Everyone,
I open Excel sheet, in that coding i put Response.End() at last of the coding. After or before I display Message but it's not shown...How to display that message...Just tell the solution...
Eg:
Excel Coding
-----
-----
---
.
.
.
.
.
Response.End();
Label1.Text="Success";
Excel sheet open but that message only not shown....
Thanks In Advanced
After display message of Response.End()
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Jignesh TrivediRank #16 · 50.3K reputationPosted May 22, 2012, 2:37 AM EDT
The End method stops processing a script, and returns the current result.
so change sequence and try..
Label1.Text="Success";
Response.End();
hope this help.
Lawrence raja116 reputationPosted May 22, 2012, 2:49 AM EDT
Jignesh TrivediRank #16 · 50.3K reputationPosted May 22, 2012, 4:38 AM EDT
It is quite difficulate to Print message before response.End()
I think this can be achive by JS.
try...
StringBuilder cstext2 = new StringBuilder();
cstext2.Append("");
Response.Write(cstext2.ToString());
thx..