WFA_psychometric_chart.Form1_main.PullDataAndPlot C# (CSharp) Method

PullDataAndPlot() public method

THIS HELPS To retrive data from psychometric db and plot in db
public PullDataAndPlot ( ) : void
return void
        public void PullDataAndPlot()
        {
            //--Refreshing the tables for all the datas..

            dataGridView1.Rows.Clear();
            DataGridView_Show_Data();
            dataGridView1.Rows.Add();
            //If there is no rows in datagridview...
            //if(dataGridView1.Rows.Count < 1) { 

            RefreshGraph();

            //after deletion lets select the its corresponding upper chart
            //Select the chart with was selected
            if (chartDetailList.Count > 0)
            {
                //We need to select the particular index 
                //--I hope this will do the replotting thing as well
                dataGridView1.Rows[0].Selected = true;//The row is selected 

            }
        }
Form1_main