Posts

Showing posts from August, 2017
States in India Dropdown list ASP.Net < asp:DropDownList ID =" State" runat =" server" > < asp:ListItem > Andaman and Nicobar Islands < / asp:ListItem > < asp:ListItem > Andhra Pradesh < / asp:ListItem > < asp:ListItem > Arunachal Pradesh < / asp:ListItem > < asp:ListItem > Assam < / asp:ListItem > < asp:ListItem > Bihar < / asp:ListItem > < asp:ListItem > Chandigarh < / asp:ListItem > < asp:ListItem > Chattisgarh < / asp:ListItem > < asp:ListItem > Dadra and Nagar Haveli < / asp:ListItem > < asp:ListItem > Daman and Diu < / asp:ListItem > < asp:ListItem > Delhi < / asp:ListItem > < asp:ListItem > Goa < / asp:ListItem > < asp:ListItem > Gujarat < / asp:ListItem > < asp:ListItem > Haryana ...

Create HTML Report for C# Windows Form : Best Alternative to Crystal Report for Receipt Printing

Create HTML Markup and store to string variable : string part1 = "<!DOCTYPE html><html><head><style>table {border-collapse: collapse;}table, td, th {border: 1px solid black;}</style></head><body style='font-family:cambria;font-size:12px'><div  style='border-style:solid;border-width:1px;height:400px;text-align:center'><header style='bottom-border-style:solid;bottom-border-width:1px;bottom-border-color:#333'><span style='font-size:25px'>"; string part2 = CompanyName + "<br></span>";                 string part3 = CompanyAddress + "<hr style='color:#333'></header><div><table><tr ><td><b>INVOICE</b></td><td>" + InvoiceNo + "</td><td> <label style='padding-right:5%'><b>DATE</b></label></td><td><label style='paddin...