protected void BtnDelete_Click(object sender, EventArgs e)
{
if (sqlCon.State == ConnectionState.Closed)
sqlCon.Open();
SqlCommand sqlCmd = new SqlCommand("EmployeeDeleteById", sqlCon);
sqlCmd.CommandType = CommandType.StoredProcedure;
sqlCmd.Parameters.AddWithValue("@EmpId", Convert.ToInt32(hfEmpDetails.Value));
sqlCmd.ExecuteNonQuery();
sqlCon.Close();
Clear();
fillGridView();
lblSuccessMessage.Text = "Deleted Successfully";
}