如题
------解决方案--------------------
int i
for i = 1 to long(dw_1.object.datawindow.column.count)
dw_1.describe( "# "+string(i)+ ".name ")
next
------解决方案--------------------
取值不能用describe()
long ll_row,ll_col
for ll_row = 1 to dw_1.RowCount()
for ll_col = 1 to long(dw_1.object.datawindow.column.count)
//此处根据列的类型决定用getitemstring()还是getitemnumber()等等,如:
dw_1.GetItemString(ll_row,ll_col)
next
next