|
|
|
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:38 |
|
||
|
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:17 |
|
||
|
|

start [/forum/topic.php?desktop=1&fid=31&tid=1538014]: |
0ms |
get settings: |
14ms |
get forum list: |
20ms |
check forum access: |
5ms |
check topic access: |
5ms |
track hit: |
54ms |
get topic data: |
17ms |
get forum data: |
9ms |
get page messages: |
51ms |
get tp. blocked users: |
2ms |
| others: | 331ms |
| total: | 508ms |

| 0 / 0 |
