private void Load_cmbFileType()
        {
            cmbFiletype.Tag = 0;

            clsFTP_FileType o       = new clsFTP_FileType();
            DataTable       dt      = o.SelectAll();
            String          sFilter = "ID_PhanMem = " + 6;

            //if (m_sFilter != "") sFilter += " AND ID_FileType IN (" + m_sFilter + ")";
            dt.DefaultView.RowFilter = sFilter;
            dt = dt.DefaultView.ToTable();
            cmbFiletype.Properties.DataSource    = dt;
            cmbFiletype.Properties.DisplayMember = "FileType_Name";
            cmbFiletype.Properties.ValueMember   = "ID_FileType";
            if (dt.Rows.Count > 0)
            {
                cmbFiletype.EditValue = dt.Rows[0]["ID_FileType"];
            }
            cmbFiletype.Tag = 1;
        }
        //private void frmUploadFileShow_ChiTiet_Load(object sender, EventArgs e)
        //{
        //    Load_cmbFileType();
        //    txtFileName.Text = m_sFileName;
        //    txtGhiChu.Text = m_sGhiChu;
        //}

        private void Load_cmbFileType()
        {
            cmbFiletype.Tag = 0;

            var cls     = new clsFTP_FileType();
            var dt      = cls.SelectAll();
            var sFilter = "ID_FileType_Group = " + (short)m_FileType_Group + " AND ( " + (short)m_FileType +
                          "= 0  OR ID_FileType = " + (short)m_FileType + ")";

            if (m_sFilter != "")
            {
                sFilter += " AND ID_FileType IN (" + m_sFilter + ")";
            }
            dt.DefaultView.RowFilter = sFilter;
            dt = dt.DefaultView.ToTable();
            cmbFiletype.Properties.DataSource    = dt;
            cmbFiletype.Properties.DisplayMember = "FileType_Name";
            cmbFiletype.Properties.ValueMember   = "ID_FileType";
            cmbFiletype.EditValue = m_iFileType;
            cmbFiletype.Tag       = 1;
        }