String ls_column_name[] //存放列名
String ls_column_text[] //存放列标题名称
Integer i, li_column_count
//得到数据窗口的总列数
li_column_count = long(dw_1.Describe("DataWindow.Column.Count"))
//循环依次读取
for i = 1 to li_column_count
ls_column_name[i] = dw_1.Describe("#"+string(i)+".name")
ls_column_text[i] = dw_1.Describe(ls_column_name[i] + "_t.text")
next
for i = 1 to li_column_count
ls_column_name[i] = dw_1.Describe("#"+string(i)+".name")
ls_column_text[i] = dw_1.Describe(ls_column_name[i] + "_t.text")
next