private void DisplayData(string criteria, string value, int startPage, int endPage)
        {
            DataTable dt = new CateringCrud().GetCateringAsTable(criteria, value, startPage, endPage);

            gvCatering.DataSource = dt;
            gvCatering.DataBind();

            GetTotalRecord(criteria, value);
            GetTotalPage(criteria, value, Int32.Parse(listPerPage));
            ControlComponent();
        }
        private void GetTotalPage(string criteria, string value, int listPerPage)
        {
            int totalPage = new CateringCrud().GetTotalPage(criteria, value, listPerPage);

            lblTotalPage.Text = totalPage.ToString();
        }
        private void GetTotalRecord(string criteria, string value)
        {
            int ttlRecord = new CateringCrud().GetTotalRecord(criteria, value);

            lblTotalRecord.Text = ttlRecord.ToString();
        }