Sub btnecsv_Click
Dim mlist As List
mlist.Initialize
mlist=DBUtils.ExecuteMemoryTable(Main.SQL,"SELECT ScripName,Date,TradeType,Price,Qty FROM TBook1",Null,0)
Log("mlist" & mlist)
Dim su As StringUtils
su.SaveCSV(File.DirInternal,"MyStocks.csv","|",mlist)
End Sub