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

SAP Sybase SQL Anywhere 16.0 (中文) » MobiLink - 入门 » MobiLink 教程 » 教程:使用直接行处理

 

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

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

前提条件

本课假定您拥有在教程教程:使用直接行处理开头的特权部分中列出的角色和特权。

 任务
  1. 创建新的空白文本文件。

  2. 将以下表示 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 cannot be increased...
  3. 在工作目录中保存此文件。

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

结果

文本文件创建完毕。