string StrContent = "<table border='0' style='margin-removed10px; margin-removed20px;' cellpadding='5' cellspacing='1'>"; StrContent += "<tr><td valign='top' bgcolor='#FFFFFF' style='font-weight: normal; font-family:" + "This is my first application" + "</td></tr>"; StrContent += "</table>"; WebBrowser webbrowser1 = new WebBrowser(); webbrowser1.DocumentText = StrContent; webbrowser1.Document.Title = "Question Papper"; webbrowser1.Width = 1000; webbrowser1.ShowPrintDialog();
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)