Exemple #1
0
        public override DataSet Clone()
        {
            dtDocGia cln = ((dtDocGia)(base.Clone()));

            cln.InitVars();
            return(cln);
        }
Exemple #2
0
        private void frmRptDG_Load(object sender, System.EventArgs e)
        {
            if (SqlHelper.ADAPTER != null)
            {
                dtDocGia myDataSet = new dtDocGia();
                SqlHelper.ADAPTER.Fill(myDataSet, "DOCGIA");


                rptDocGia1 = new rptDocGia();


                rptDocGia1.SetDataSource(myDataSet);
                ReportViewer.ReportSource = rptDocGia1;
            }
            else
            {
                MessageBox.Show(this, "Không có dữ liệu", "Thong bao");
            }
        }