Click here to Skip to main content
15,935,445 members
Home / Discussions / C#
   

C#

 
QuestionUninstall a none Microsoft program on a remote machine via WMI Pin
AndieDu9-Nov-11 23:03
AndieDu9-Nov-11 23:03 
AnswerRe: Uninstall a none Microsoft program on a remote machine via WMI Pin
AndieDu10-Nov-11 11:15
AndieDu10-Nov-11 11:15 
QuestionHow can I use Word in C3.Net Not COM Componet Pin
yousefshokati9-Nov-11 20:03
yousefshokati9-Nov-11 20:03 
AnswerRe: How can I use Word in C3.Net Not COM Componet Pin
Wayne Gaylard9-Nov-11 21:19
professionalWayne Gaylard9-Nov-11 21:19 
QuestionRestore database with stored procedure Pin
nhanlaptrinh9-Nov-11 12:17
nhanlaptrinh9-Nov-11 12:17 
AnswerRe: Restore database with stored procedure Pin
Abhinav S9-Nov-11 16:54
Abhinav S9-Nov-11 16:54 
GeneralRe: Restore database with stored procedure Pin
nhanlaptrinh16-Nov-11 14:02
nhanlaptrinh16-Nov-11 14:02 
QuestionExport to Excel and Navigating to other Page Pin
pravin_mun9-Nov-11 6:51
pravin_mun9-Nov-11 6:51 
Hi Guys ,

Stuck up in small issue can u any one please help me out of this.
I have exported a excel report as below. But last statement is not executing. After downloading it i want to navigate to other page, But it is throwing exception. I understood that i am clearing the HTTP Response. But can i cal one more HTTP?? or how can i navigate to other page.. Please help on this

string attachment = "attachment; filename=Export.xls";
Response.ClearContent();
Response.AddHeader("content-disposition", attachment);
Response.ContentType = "application/ms-excel";
GridView1.RenderControl(htw);
Response.Write(sw.ToString());
Response.End()
Response.Redirect("Downloaded.aspx",false); [Problem][Exception]
AnswerRe: Export to Excel and Navigating to other Page Pin
Dave Kreskowiak9-Nov-11 13:33
mveDave Kreskowiak9-Nov-11 13:33 
SuggestionRe: Export to Excel and Navigating to other Page Pin
RaviRanjanKr13-Nov-11 4:39
professionalRaviRanjanKr13-Nov-11 4:39 
Questionwhere to save my error.log? Pin
Jassim Rahma9-Nov-11 5:34
Jassim Rahma9-Nov-11 5:34 
AnswerMessage Removed Pin
9-Nov-11 5:50
professionalBert Mitton9-Nov-11 5:50 
GeneralRe: where to save my error.log? Pin
Dave Kreskowiak9-Nov-11 13:22
mveDave Kreskowiak9-Nov-11 13:22 
GeneralRe: where to save my error.log? Pin
Firo Atrum Ventus10-Nov-11 16:58
Firo Atrum Ventus10-Nov-11 16:58 
GeneralRe: where to save my error.log? Pin
Dave Kreskowiak10-Nov-11 18:40
mveDave Kreskowiak10-Nov-11 18:40 
GeneralRe: where to save my error.log? Pin
Pete O'Hanlon10-Nov-11 23:09
mvePete O'Hanlon10-Nov-11 23:09 
GeneralRe: where to save my error.log? Pin
Dave Kreskowiak11-Nov-11 2:51
mveDave Kreskowiak11-Nov-11 2:51 
AnswerRe: where to save my error.log? Pin
Luc Pattyn9-Nov-11 5:52
sitebuilderLuc Pattyn9-Nov-11 5:52 
AnswerRe: where to save my error.log? Pin
Mark Salsbery9-Nov-11 6:14
Mark Salsbery9-Nov-11 6:14 
QuestionHow Search Algorithms Work Pin
harsimranb9-Nov-11 4:59
harsimranb9-Nov-11 4:59 
AnswerRe: How Search Algorithms Work Pin
Maximilien9-Nov-11 5:09
Maximilien9-Nov-11 5:09 
QuestionWhy I am getting this warning? Pin
Jassim Rahma9-Nov-11 4:48
Jassim Rahma9-Nov-11 4:48 
AnswerRe: Why I am getting this warning? Pin
Bert Mitton9-Nov-11 5:52
professionalBert Mitton9-Nov-11 5:52 
GeneralRe: Why I am getting this warning? Pin
Jassim Rahma9-Nov-11 5:57
Jassim Rahma9-Nov-11 5:57 
GeneralRe: Why I am getting this warning? Pin
RichardWil459-Nov-11 11:10
RichardWil459-Nov-11 11:10 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.