public void gvdBind(int ObjectSensorID, DateTime StartDate, DateTime EndDate)
 {
     try
     {
         List <IndividualSensorModel> Li = obj.getEventLogReport(ObjectSensorID, StartDate, DateTime.Now);
         if (Li.Count > 0)
         {
             BindingClass.GridViewBind(gvdReport, Li); btngraph.Visible = true;
         }
         else
         {
             BindingClass.ClearGridView(gvdReport);
         }
         gvdReport.Visible = true;
     }
     catch (Exception)
     { BindingClass.ExceptionAlertScriptManager(this.Page, this.GetType()); }
 }