开发者

Crystal Report just have one line?

开发者 https://www.devze.com 2022-12-15 15:43 出处:网络
OpenConnect(); OleDbDataAdapter olda开发者_开发问答 = new OleDbDataAdapter(\"Select * from RECORD where LIC_PLATE=\'GE 320\'\", con);
            OpenConnect();
            OleDbDataAdapter olda开发者_开发问答 = new OleDbDataAdapter("Select * from RECORD where LIC_PLATE='GE 320'", con);
            DataSet dataset = new DataSet();
            olda.Fill(dataset);
            cr1.SetDataSource(dataset.Tables[0]);
            crystalReportViewer1.ReportSource = cr1;
            crystalReportViewer1.Refresh();
            CloseConnect();

I had only one line in my report. How can I solve this problem ? I checked that I had too many records that has LIC_PLATE= GE 320


Check if your fields are not grouped and that they are in the details section. Maybe they are in a group section or in a Page section,

0

精彩评论

暂无评论...
验证码 换一张
取 消