Example #1
0
        public void hehe()
        {
            int allye = Convert.ToInt32(BLL_Hotel.Cha_Cus().Rows.Count.ToString());

            if (allye % 6 == 0)
            {
                this.TextBox7.Text = (allye / 6).ToString();
            }
            else
            {
                this.TextBox7.Text = (allye / 6 + 1).ToString();
            }
        }