fastreport.netを使用して、aspxページにアイテムのリストを表示しています。
次のようにWebReport1_StartReport()イベントでデータを渡します。
WebReport1.Report.RegisterData(myDataView、 "myDataSource"、2); (WebReport1.Report.FindObject( "Data1")as DataBand).DataSource = WebReport1.Report.GetDataSource( "myDataSource");
ただし、1行だけが印刷されます。ただし、sqlDataSourceコントロールを使用し、次のようにデータを渡すことにより:WebReport1.RegisterDataAsp(WebReport1.Report、mySqlDataSource、 "mySqlDataSource")
全て大丈夫。
どうしたの?