protected void btOK_Click(object sender, EventArgs e)
    {
        #region Bao gồm - included
        string baoGom = "";
        for (int i = 0; i < cblBaoGom.Items.Count; i++)
        {
            if (cblBaoGom.Items[i].Selected)
            {
                baoGom += cblBaoGom.Items[i].Value + ",";
            }
        }
        if (baoGom != "")
        {
            baoGom = baoGom.Remove(baoGom.Length - ",".Length);
        }
        #endregion

        string chiTiet = ContentExtendtions.ProcessStringContent(tbChiTiet.Text, hdChiTiet.Value, pic);

        #region Trạng thái
        string trangThai = "0";
        if (cbTrangThai.Checked == true)
        {
            trangThai = "1";
        }
        #endregion

        if (isid != "")
        {
            string image = flAnhDaiDien.Save(true, chiTiet);
            Subitems.UpdateSubitemsFull(iid, lang, app, tbLoaiPhong.Text, chiTiet, image, baoGom, "", tbHuongPhong.Text,
                                        DateTime.Now.ToString(), DateTime.Now.ToString(), DateTime.Now.ToString(), trangThai, isid,
                                        tbGiaNiemYet.Text,
                                        tbGiaKhuyenMai.Text, "", "", "", tbSuChuaToiDa.Text, tbThuTu.Text,
                                        ddlCoTheTraPhongKhong.SelectedValue, ddlCoGomBuaSangKhong.SelectedValue, tbDienTichPhong.Text,
                                        tbLoaiGiuong.Text, DateTime.Now.ToString(), DateTime.Now.ToString());


            ltrThongBao.Text = "Thông báo: đã sửa " + tbLoaiPhong.Text;
        }
        else
        {
            string image = flAnhDaiDien.Save(false, chiTiet);
            Subitems.InsertSubitemsFull(iid, lang, app, tbLoaiPhong.Text, chiTiet, image, baoGom, "", tbHuongPhong.Text,
                                        DateTime.Now.ToString(), DateTime.Now.ToString(), DateTime.Now.ToString(), trangThai, tbGiaNiemYet.Text,
                                        tbGiaKhuyenMai.Text, "", "", "", tbSuChuaToiDa.Text, tbThuTu.Text,
                                        ddlCoTheTraPhongKhong.SelectedValue, ddlCoGomBuaSangKhong.SelectedValue, tbDienTichPhong.Text,
                                        tbLoaiGiuong.Text, DateTime.Now.ToString(), DateTime.Now.ToString());


            ltrThongBao.Text = "Thông báo: đã tạo " + tbLoaiPhong.Text;
        }

        ResetControls();
    }