G
Guest
private void DownloadPDF(string fPath)
{
Response.Clear();
Response.ContentType = "Application/pdf";
Response.WriteFile(fPath);
Response.End();
}
private void Show(string file)
{
DownloadPDF(file);
int i =1; // not performed during debug
i=i+1;
}
While I am debugging the code above I noticed the breakpoint on i=i+1 is
never hit. What is problem and how I can resole this? After downloading the
file I need to perform some operations and display something on the user
interface.
{
Response.Clear();
Response.ContentType = "Application/pdf";
Response.WriteFile(fPath);
Response.End();
}
private void Show(string file)
{
DownloadPDF(file);
int i =1; // not performed during debug
i=i+1;
}
While I am debugging the code above I noticed the breakpoint on i=i+1 is
never hit. What is problem and how I can resole this? After downloading the
file I need to perform some operations and display something on the user
interface.