📄 prov_textedittutorial.html
字号:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html>
<head>
<meta name="Author" content="TF">
<meta name="generator" content="HTML Tidy, see www.w3.org">
<title>数据库应用程序开发者指南: 从数据源获得数据</title>
<link type="text/css" href="jbdocs.css" rel="stylesheet">
</head>
<body>
<br><br>
<a name="_top_"></a>
<h2>指南: 一个JBuilder数据库应用程序的介绍</h2>
<hr>
译者名字:cage_yang(JD012)<br>
邮件地址:<a href="mailto:cage_yang@163.com">cage_yang@163.com</a>
<!--BNDX="tutorials:reading from text files;database tutorials:reading from text files"-->
<!--BNDX="text files:tutorial for extracting from;importing data:TextDataFile sample;TextDataFile sample:;data:importing;importing data:tutorial;"-->
<!--BTUTOR="Tutorial: an introduction to JBuilder database applications"-->
<blockquote class="bsku">数据库应用程序开发是JBuilder专业版本与企业版本的一个特征. 分布式应用程序开发是JBuilder企业版本的一个特征.</blockquote>
<p>该介绍性的指南通过创建一个基本的数据库应用程序与使用JBuilder设计工具用户界面来读取一个文本文件,达到逐步使你入门的目的. 即使你没有连接到一个SQL或者桌面数据库你也可以创建一个数据库应用程序.你可以使用一个文本数据(一个JBuilder自带的数据文件)与 <code>DataExpress</code> <em><a href="../ref/dx/com.borland.dx.dataset.TextDataFile.html">TextDataFile</a></em> 以及 <em><a href="../ref/dx/com.borland.dx.dataset.TableDataSet.html">TableDataSet</a></em> 组件来创建数据库应用程序.</p>
<p>该指南然后浏览JBuilder的 <code>DataExpress</code> 体系结构并将数据库概念应用到该指南中,尽管该应用程序还没有连接到一个SQL数据库中. 该应用程序用户界面由三个组件组成:</p>
<ul>
<li>一个表(table)组件,该表用于显示文本文件数据.</li>
<li>一个工具栏,该工具栏用于帮助浏览数据.</li>
<li>一个状态区,用于显示信息.</li>
</ul>
<p>当你完成这个指南后, 你的应用程序应该看起来像这样:</p>
<p class="bfig">数据库应用程序</p>
<p><img src="images/gs_tdf_complete.gif"></p>
<p>你可以在<code>/jbuilder/samples/DataExpress/TextDataFile/.</code>中打开<code>TextDataFile.jpr,</code> 例子程序,以查看整个完整的应用程序</p>
<p><span class="bscan">注意:</span> 如果你下载了JBuilder, 为了得到完成的例子程序,你一定也要下载示例程序包.</p>
<p>对于怎样使用一个自己的文本文件来创建一个数据库应用程序的具体步骤,见<a href="prov_importingdata.html">"从文本文件中导入与导出数据."</a></p>
<table width="100%">
<tr>
<td width="50%" height="3"><a href="prov_providingintro.html"><img src="images/PreviousArrow.gif" width="26" height="26" border="0">从一个数据源中获得数据</a></td>
<td width="50%" height="3"><a href="prov_textedittutorial2.html">创建应用程序结构<img src="images/NextArrow.gif" width="26" height="26" border="0"></a></td>
</tr>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -