protected void btnSubmit_Click(object sender, EventArgs e) { int cnt = Convert.ToInt32(txtCount.Text); DateTime start = Convert.ToDateTime(txtStart.Text); DateTime end = Convert.ToDateTime(txtEnd.Text); var date1 = start.ToShortDateString(); var date2 = end.ToShortDateString(); TimeSpan datedifference = end.Subtract(start); int dateCount = datedifference.Days; float maxUpload = dateCount * 288; float remainingUpload = maxUpload - cnt; float averageUpload = remainingUpload / (dateCount * 288) * 100; float missdUpload = 100 - averageUpload; string siteid = ddlSiteID.SelectedValue; }
<asp:Chart ID="Chart1" runat="server"> <Series> <asp:Series Name="Series1"> </asp:Series> </Series> <ChartAreas> <asp:ChartArea Name="ChartArea1"> </asp:ChartArea> </ChartAreas> </asp:Chart>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)