|
|
|
Crystal Report печать заполненного DataSet как?
|
|||
|---|---|---|---|
|
#18+
Привет всем! Лиха беда начало! Имеем задачу напечатать реестр платежей. Реестр платежей это таблица типизированного DataSet. 1) Создаю отчёт указав что по таблице DataSet 2) Создаю форму с crystalReportViewer на _Load crystalReportViewer1.ReportSource = @"E:\!mdm\BuhPoint\Report\CrRpt.rpt"; А он требует ПАРОЛЬ!!! ВОПРОСЫ 1. Как передать экземпляр DataSet уже заполненного? 2 Можно ли выключить? ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 28.05.2007, 13:59 |
|
||
|
Crystal Report печать заполненного DataSet как?
|
|||
|---|---|---|---|
|
#18+
Ответ следующий //Create an instance of the strongly-typed report object crReportDocument = new CrystalReport1(); //Pass the populated dataset to the report crReportDocument.SetDataSource(dataSet); //Set the viewer to the report object to be previewed. crystalReportViewer1.ReportSource = crReportDocument; А как в отчётник передать SQLConnection ? Скажем заранее не известно какие там user and password ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 28.05.2007, 18:15 |
|
||
|
|

start [/forum/topic.php?fid=31&msg=34555203&tid=1538014]: |
0ms |
get settings: |
7ms |
get forum list: |
11ms |
check forum access: |
3ms |
check topic access: |
3ms |
track hit: |
139ms |
get topic data: |
9ms |
get forum data: |
2ms |
get page messages: |
45ms |
get tp. blocked users: |
1ms |
| others: | 208ms |
| total: | 428ms |

| 0 / 0 |
