public void ShowWorkoutCat()
 {
     bll = new WorkoutCategoryBLL();
     if (!isSearch)
     {
         dto.Categories = bll.GetCategories();
     }
     else
     {
         dto.Categories = bll.GetCategories(keyword);
     }
     dataGridView1.DataSource = dto.Categories;
     dataGridView1.Columns["ID"].HeaderText   = "分類編號";
     dataGridView1.Columns["Name"].HeaderText = "分類名稱";
     isSearch = false;
 }