從檔案讀取資料到sap
report z_read_file_neil .
data: begin of man,
name(20) type c,
high type p decimals 2,
weight type p decimals 2,
end of man.
data: man1 like table of man.
*call function 'upload'
*不帶提示
call function 'ws_upload'
exporting
codepage = 'test'
filename = 'd:/testa.txt'
filetype = 'dat'
item ='讀入檔案'
tables
data_tab = man1
exceptions
conversion_error =1
invalid_table_width = 2
invalid_type = 3.
loop at man1 into man.
write: / man-name,man-high,man-weight.
endloop.
從XML檔案讀取資料繫結到列表控制項2
componentart.web.ui控制項繫結所用xml,同時用於dropdownlist的繫結,xml如下 sitemap item text 標題一 id 1 item text 標題二 id 4 item text 標題三 id 5 item text 標題四 id 6 item text ...
從XML檔案中讀取資料
using system using system.data using system.configuration using system.web using system.web.security using system.web.ui using system.web.ui.webcontro...
從fig檔案中讀取資料
open figname.fig h get gca,children data get h,cdata 2 如果你的fig檔案中影象是由單條曲線繪製而成,比如說plot命令生成的,通過以下方式輸出橫座標,縱座標的取值 open figname.fig h line get gca,children...