protected void btnSearch_Click(object sender, EventArgs e)
 {
     pl = new Packing_Place();
     bpp = new Bol_Packing_Place();
     if (txtSearch.Text == "")
     {
         Response.Write("Vui long nhap ten hay id can tim !!!");
         txtSearch.Focus();
     }
     else
     {
         if (DropDownList2.SelectedValue.ToString() == "ByID")
         {
             if (bpp.CheckParking_PlaceExistByID(Convert.ToInt32(txtSearch.Text)) == 0)
             {
                 pl.PP_ID = Convert.ToInt32(txtSearch.Text);
                 GridView1.DataSource = bpp.SelectPacking_PlaceByID(pl);
                 GridView1.DataBind();
             }
             else
             {
                 Response.Write("ID ban nhap khong ton tai vui long nhap id khac !!!");
                 txtSearch.Focus();
             }
         }
         else if (DropDownList2.SelectedValue.ToString() == "ByName")
         {
             if (bpp.CheckParking_PlaceExistByName(txtSearch.Text) == 0)
             {
                 pl.Name = txtSearch.Text;
                 GridView1.DataSource = bpp.SelectPacking_PlaceByName(pl);
                 GridView1.DataBind();
             }
             else
             {
                 Response.Write("Name ban nhap khong ton tai vui long nhap id khac !!!");
                 txtSearch.Focus();
             }
         }
     }
 }