Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 12.0.0 (中文) » MobiLink - 入门 » MobiLink 教程 » 教程:直接行处理简介

 

第 1 课:建立文本文件数据源

在本节中,将创建新的文本文件来存储订单信息。

 ♦  建立文本文件数据源
  1. 创建新的空白文本文件。

  2. 在工作目录中保存此文件。

    此教程将 c:\MLdirect 假定为服务器端组件的工作目录。在此目录中,将文件另存为 orderResponses.txt

此文件包含对注释的响应。例如,orderResponses.txt 可以包含以下含有表示 comment_id、order_id 和 order_comment 的制表符分隔的值的条目:

...
786  34  OK, ship promotional material.
787  35  Yes, the product is going out of production.
788  36  No, your commission can not be increased...
...