|
Report передать переменную
|
|||
---|---|---|---|
#18+
Создал отчет. Как можно в отчет передать переменную чтобы ее мог вывести в отчет? ... |
|||
:
Нравится:
Не нравится:
|
|||
08.04.2013, 08:09 |
|
Report передать переменную
|
|||
---|---|---|---|
#18+
stim24Создал отчет. Как можно в отчет передать переменную чтобы ее мог вывести в отчет? Добавить в отчёт параметр, присвоить параметру значение, в отчёте отобразить. Что-то здесь не очивидно ? ... |
|||
:
Нравится:
Не нравится:
|
|||
08.04.2013, 09:04 |
|
Report передать переменную
|
|||
---|---|---|---|
#18+
Очевидно то очевидно но не получается) Я в свойствах отчета в code добавил переменную datetim и конечно ее могу вывесте в отчет. А как в коде ее поменять передать другое значение в нее? this.reportViewer1.Dock = System.Windows.Forms.DockStyle.Fill; reportDataSource1.Name = "DataSetMNTK"; reportDataSource1.Value = this.report_talon_daylineBindingSource; this.reportViewer1.LocalReport.DataSources.Add(reportDataSource1); this.reportViewer1.LocalReport.ReportEmbeddedResource = "TalonProject.Reports.ReportTalonDaysLine.rdlc"; this.reportViewer1.Location = new System.Drawing.Point(0, 0); this.reportViewer1.Name = "reportViewer1"; this.reportViewer1.Size = new System.Drawing.Size(768, 567); this.reportViewer1.TabIndex = 0; this.report_talon_daylineTableAdapter.Fill(this.MNTKDataSet.report_talon_dayline,new DateTime(2013,04,03)); this.reportViewer1.RefreshReport(); А как задать тут переменную то? ... |
|||
:
Нравится:
Не нравится:
|
|||
08.04.2013, 09:56 |
|
Report передать переменную
|
|||
---|---|---|---|
#18+
stim24, ReportParameter ... |
|||
:
Нравится:
Не нравится:
|
|||
08.04.2013, 15:10 |
|
|
start [/forum/topic.php?fid=20&fpage=166&tid=1404781]: |
0ms |
get settings: |
10ms |
get forum list: |
12ms |
check forum access: |
3ms |
check topic access: |
3ms |
track hit: |
60ms |
get topic data: |
13ms |
get forum data: |
3ms |
get page messages: |
50ms |
get tp. blocked users: |
2ms |
others: | 13ms |
total: | 169ms |
0 / 0 |