protected void btnChuyenMotPhan_Click(object sender, EventArgs e)
        {
            if (Session["DSCaSauChuyenChuong"] != null && Session["DSCaSauChuyenChuong"].ToString() != "")
            {
                IFormatProvider culture = new System.Globalization.CultureInfo("vi-VN", true);
                if (DateTime.Parse(txtThoiDiemChuyen.Text, culture) < Config.NgayKhoaSo())
                {
                    Page.ClientScript.RegisterStartupScript(typeof(string), "chuyenfail", "<script language=javascript>alert('Ngày chuyển chuồng không được trước ngày khóa sổ');</script>", false);
                    return;
                }
                string   strCSHopLe = Session["DSCaSauChuyenChuong"].ToString();
                string[] arrCSLoai  = lblCSLoai.Text.Split(new string[] { ";" }, StringSplitOptions.RemoveEmptyEntries);
                for (int i = 0; i < arrCSLoai.Length; i++)
                {
                    strCSHopLe = strCSHopLe.Replace("@" + arrCSLoai[i] + "@", "");
                }

                string res = csCont.ChuyenChuong(strCSHopLe, int.Parse(ddlChuong.SelectedValue), DateTime.Parse(txtThoiDiemChuyen.Text, culture), UserId);
                if (res != "")
                {
                    Page.ClientScript.RegisterStartupScript(typeof(string), "fail", "<script language=javascript>alert('Một số cá không chuyển trạng thái được có ID: " + res.Substring(1, res.Length - 2).Replace("@@", ", ") + "');</script>", false);
                }
                else
                {
                    Page.ClientScript.RegisterStartupScript(typeof(string), "updated", "<script language=javascript>alert('Đã chuyển xong!');window.opener.finishEdit();self.close();</script>", false);
                }
            }
        }