为什么这个源在visual studio上工作但在iis上不起作用?

时间:2016-08-25 16:22:52

标签: c# asp.net visual-studio iis webbrowser-control

当我在visual studio工作上运行它但在IIS上没有

private void PrintDocument(object sender, System.Windows.Forms.WebBrowserDocumentCompletedEventArgs e)
{
    System.Windows.Forms.WebBrowser wb = (System.Windows.Forms.WebBrowser)sender;

    wb.Print();//Does not work on IIS
    wb.Dispose();
}

0 个答案:

没有答案