Posts

How to create chart & graph in Asp.Net

Image
-----------.aspx page------------------------------------------- <div style="width: 900px;">             <asp:Chart ID="chartDaywiseUtilization" runat="server" Width="900px" Height="250px" BorderlineWidth="2" Palette="None" PaletteCustomColors="192, 64, 0"                 BorderDashStyle="Solid"                 BackSecondaryColor="White" BackGradientStyle="TopBottom" BorderWidth="2px" BackColor="211, 223, 240"                 BorderColor="#1A3B69">                 <Titles>                     <asp:Title ShadowOffs...

2nd Method for import / export excel file using open xml

Download "Excel.dll" and "ICSharpCode.SharpZipLib.dll" and paste in bin folder protected void btnImport_Click( object sender, EventArgs e)     {         string strtimeStamp = string .Empty;         strtimeStamp = System. DateTime .Now.Ticks.ToString();         string fileName = Server.MapPath( "~/UploadFile/" ) + strtimeStamp + "_" + FileUpload1.FileName;         FileUpload1.SaveAs(fileName);         ProcessYINVCO(fileName, 1, true , 1);     }     protected void btnExport_Click( object sender, EventArgs e)     {         DataSet dsDown = new DataSet ();         dsDown = obj.GetYINVCO(0);          if (dsDown !...