Is everything ok, when the field is bound in RDLC statements this expression how to write? I use a DataTable source this way written expression Fields! No. The Value, run the report an error, tip:
Value expression of the text box "textbox5" refers to the field "no", the report item expressions can only reference data sets within the scope of the current field or fields within a specified data set scope (if the expression is included in the aggregation function),
Data source for the List, please, detailed in the report form field expression should be how to write? Thank you very much!
ListTMS=new List (a);
TM tm1=new TM ();
Tm1. No="118000184001001001";
TMS. The Add (tm1);
TM tm2=new TM ();
Tm2. No="118000184001001002";
TMS. The Add (tm2);
TM tm3=new TM ();
Tm3. No="118000184001001003";
TMS. The Add (tm3);
Microsoft. Reporting. WinForms. ReportDataSource
RDS=new Microsoft. Reporting. WinForms. ReportDataSource (" dataset1, "TMS);
ReportViewer1. LocalReport. DataSources. The Clear ();
ReportViewer1. LocalReport. DataSources. Add (RDS);