/// <summary> ///This function is called when the view button is clicked on the form /// </summary> private void bttn_view_Click(object sender, EventArgs e) { EmployeeBAL employeebalobj = new EmployeeBAL(); DataTable dt = new DataTable(); dt = employeebalobj.get(); grid_output.DataSource = dt; }