亚洲国产日韩欧美一区二区三区,精品亚洲国产成人av在线,国产99视频精品免视看7,99国产精品久久久久久久成人热,欧美日韩亚洲国产综合乱

? php教程 php手冊(cè) 根據(jù)已有報(bào)告文件創(chuàng)建Web服務(wù)

根據(jù)已有報(bào)告文件創(chuàng)建Web服務(wù)

Jun 21, 2016 am 09:14 AM
reports studio visual web

web|web服務(wù)|創(chuàng)建

Web服務(wù)可以被多個(gè)不同用戶所訪問,那么報(bào)告(reporting)又該是怎樣的呢?Crystal Reports已經(jīng)成為了Visual Studio中事實(shí)上的報(bào)告標(biāo)準(zhǔn),并且通過Visual Studio.NET現(xiàn)在已經(jīng)可以將報(bào)告文件轉(zhuǎn)換為Web服務(wù)。然后可以通過訪問這些Web服務(wù)來將報(bào)告發(fā)送給企業(yè)內(nèi)部或外部的用戶。本文中,我們將一起來看看如何根據(jù)已有的報(bào)告文件來創(chuàng)建Web服務(wù)。在本文第二部分,我們將分析如何使用所創(chuàng)建的Web服務(wù)。



注意:在本教程中我們將使用Visual Studio.NET 2003。在開始學(xué)習(xí)之前,請(qǐng)檢查你已經(jīng)安裝了Visual Studio以及所有的Crystal Reports組件,包括“Crystal Web services”相關(guān)選項(xiàng)。

打開Visual Studio,從Start菜單中選擇File > New > Project來創(chuàng)建新的ASP.NET Web Application。在本例中,我們將此項(xiàng)目命名為“ReportService”。

在創(chuàng)建項(xiàng)目之后,需要?jiǎng)?chuàng)建或添加已有的Crystal Report,我們將在后面將其轉(zhuǎn)換為Web服務(wù)。如果還沒有報(bào)告文件,可以使用同Visual Studio一同發(fā)布的示例報(bào)告,它位于C:Program FilesMicrosoft Visual Studio .NET 2003Crystal ReportsSamplesReports。在本例中,我們將使用在General Business示例文件夾中的“World Sales Report.rpt”。

要在項(xiàng)目中添加已有的報(bào)告,可以選擇Project > Add Existing Item,然后將對(duì)話框底部的下拉列表改為“Crystal Reports”,并選擇希望添加的報(bào)告文件。

下一步,在Solution Explorer選定報(bào)告,然后直接右鍵單擊報(bào)告。右鍵單擊菜單中會(huì)出現(xiàn)“Publish as Web service”選項(xiàng)。選擇此選項(xiàng)將產(chǎn)生一個(gè)ASMX文件,你可以通過右鍵單擊此文件(本例中為“World Sales ReportService.asmx”)并選擇“View in Browser”來對(duì)其進(jìn)行查看。

此預(yù)覽將顯示所有對(duì)Web服務(wù)允許進(jìn)行的操作,其中包括:

DrillGraph

Refresh

FindText

GetPage

GetTotaller

TestReport

GetGroupLevelData

FindGroup

GetLastPageNumber

GetReportInfo

Export



這里還會(huì)有一個(gè)鏈接鏈到使用WSDL(Web服務(wù)定義語言,Web Service Definition Language)所編寫的正式的Web服務(wù)定義。



? ????? ??
? ?? ??? ????? ???? ??? ??????, ???? ?????? ????. ? ???? ?? ???? ?? ??? ?? ????. ???? ??? ???? ???? ??? ?? admin@php.cn?? ?????.

? AI ??

Undresser.AI Undress

Undresser.AI Undress

???? ?? ??? ??? ?? AI ?? ?

AI Clothes Remover

AI Clothes Remover

???? ?? ???? ??? AI ?????.

Video Face Swap

Video Face Swap

??? ??? AI ?? ?? ??? ???? ?? ???? ??? ?? ????!

???

??? ??

???++7.3.1

???++7.3.1

???? ?? ?? ?? ???

SublimeText3 ??? ??

SublimeText3 ??? ??

??? ??, ???? ?? ????.

???? 13.0.1 ???

???? 13.0.1 ???

??? PHP ?? ?? ??

???? CS6

???? CS6

??? ? ?? ??

SublimeText3 Mac ??

SublimeText3 Mac ??

? ??? ?? ?? ?????(SublimeText3)

???

??? ??

??? ????
1597
29
PHP ????
1488
72
???
Huawei Watch GT 5 ?????? ??? ???? ?????????. Huawei Watch GT 5 ?????? ??? ???? ?????????. Oct 03, 2024 am 06:25 AM

Huawei? Watch GT 5 ? Watch GT 5 Pro ?????? ????? ?? 5.0.0.100(C00M01)? ? ????? ???? ????. ? ? ?????? ?? ???? ??????, ?? ??? ??? ?? ??? ??? ???????. ? ???

??? ??? ??? KFC?? ?? ? ??? ??? ??? KFC?? ?? ? Oct 02, 2024 am 06:07 AM

?? ??? ???? ??? ????(Katsuhiro Harada)? ?? ??? ??? ???? ?? ??? ????? ???? ??? ?? ????. TheGamer?? ????? Harada? ?????? ??? g? ???? ?? KFC Japan? ????? ????? ?????.

Garmin, ??? ????? ?? ?? ?????? ?? Adventure Racing ?? ?? ?? ?? Garmin, ??? ????? ?? ?? ?????? ?? Adventure Racing ?? ?? ?? ?? Oct 01, 2024 am 06:40 AM

Garmin? ?? ?? ?????? ?? ??? ???? ???? ??? ?? ?? ?????. ?????, ??? Enduro 3, Fenix ??E ? Fenix ??8(Amazon?? ?? $1,099.99)? ?? ??? ??? ???? ?? ??? ????? 11.64? ??????.

Cybertruck FSD? ?? ?? ?? ? ?? ?? ???? ?????. Cybertruck FSD? ?? ?? ?? ? ?? ?? ???? ?????. Oct 01, 2024 am 06:16 AM

Tesla? ?? ?? ?? ??(??) ?? 12.5.5? ???? ??? Foundation Series ?? ??? ??? ???? ??? ??? ? 10?? ?? ??? ??? Cybertruck FSD ??? ?????. ??

? ?? ??: ? ??? Anker Zolo 4?? 140W ?? ???(????? ??)? ?? ??? ?? ? ?? ??: ? ??? Anker Zolo 4?? 140W ?? ???(????? ??)? ?? ??? ?? Oct 01, 2024 am 06:32 AM

2024? 9? ?, Anker? Zolo 140W ???? ??????, ? ???? ??? ?????? ??? ??? ?? ????? ??? ? ??? ?????. ?? YouTube? Xiao Li TV?? ???? ??? ??? ???? ?? ?????.

HyperOS? ??? ??? Xiaomi Mijia ??? ?? ?? ?? HyperOS? ??? ??? Xiaomi Mijia ??? ?? ?? ?? Oct 02, 2024 pm 09:02 PM

???? ? ???? Mijia ??? ?? ??? ??? ?????. ? ??? ?? Youpin ????? ????? ??? ? ??? ?? ???? ?? ???? ????? ??????. ???? ??? ??? ?? ??? ??????.

?? ??? Z ?? ??? ???, ???? ?? ???? 10? ? ?? ?? ?? ??? Z ?? ??? ???, ???? ?? ???? 10? ? ?? ?? Oct 01, 2024 am 06:21 AM

???? ???? ??? '??? ???' ??? ??? ? ?? ??? ??????. ?? ? ? ?? ??? ??? Z ?? ??? ???? ?? ??? ?? ???????. ?? ??? S25 ???? ??? ??????.

Manjaro 24.1 \'Xahea\'? KDE Plasma 6.1.5, VirtualBox 7.1 ?? ?? ?????. Manjaro 24.1 \'Xahea\'? KDE Plasma 6.1.5, VirtualBox 7.1 ?? ?? ?????. Oct 02, 2024 am 06:06 AM

10? ??? ??? ?? Manjaro? ???? ?? ??? ???? ??? ?? ??? ???? Linux ??? ? ??? ???? ?? ? ??? ????. ?? ?????, ??, ????? ??? ? Arch ?? ????

See all articles