public void DataGridView_Show_Data()
{
//check to see if the data is present in the database or not...
//--Pulls and fills in a dynamic list
// PullDataFromDB();
if (selectedBuildingList.Count <= 0)
{
//We no need to proceed futher
return;
}
//Pulling the data form the data grid view...
PullChartList(selectedBuildingList[0].BuildingName);//This is the list of the building present ...
//PullChartList(CurrentSelectedBuilding);//This is the list of the building present ...
//MessageBox.Show("datapulled ,count = " + listForDataFromDB.Count);
//This fills the datagridview
fillDataGridView();
// fillDataGridView_WithChartList();
}