Example #1
0
        private void detail_Format(object sender, EventArgs e)
        {
            rprtDrawingLogSubTest r = new rprtDrawingLogSubTest();

            System.Data.DataView dv = new System.Data.DataView(((dsDrawingLog)this.DataSource).Tables["Revisions"]);
            dv.RowFilter = "DrawingID = " + textBox1.Text;

            r.DataSource      = dv;
            subReport1.Report = r;
        }
Example #2
0
        private void detail_Format(object sender, EventArgs e)
        {
            //rprtDrawingLogTranAlt1_SubRevs rprt = new rprtDrawingLogTranAlt1_SubRevs();
            rprtDrawingLogSubTest r = new rprtDrawingLogSubTest();

            System.Data.DataView dv = new System.Data.DataView(((System.Data.DataSet) this.DataSource).Tables["Table1"]);
            dv.RowFilter = "DrawingID = " + txtDrawingID.Text;

            r.DataSource      = dv;
            subReport1.Report = r;

            //if (txtDrawingID.Text == "70289")
            //{
            //    int rwCnt = dv.Count;
            //    string tmp = "Stop";
            //}
        }