⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 loading the sql property from a file.htm

📁 宇宙中最强悍的Delphi资料专辑宇宙中最强悍的Delphi资料专辑
💻 HTM
字号:
<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="GENERATOR" content="Microsoft FrontPage 3.0">
<title>Loading the SQL property from a file</title>
</head>

<body>

<table border="0" width="100%" style="font-size: 9pt">
  <tr>
    <td width="100%"><strong>调用LoadFromFile从文件中读取SQL语句</strong><br>
    &nbsp;&nbsp;&nbsp; 也可以调用LoadFromFile从文件中获取SQL语句,这主要是因为TStrings对象支持文件操作。LoadFromFile会自动把原来的SQL语句清掉。比如:<big><br>
    </big><br>
    &nbsp;&nbsp;&nbsp; CustomerQuery.Close;<br>
    &nbsp;&nbsp;&nbsp; CustomerQuery.SQL.LoadFromFile('c:\orders.txt');<br>
    &nbsp;&nbsp;&nbsp; CustomerQuery.Open;<hr size="1">
    <p align="center"><a href="mailto:ilovedelphi@163.net">RainBow</a><font color="#ffffff">。</font>策划制作 
    版权所有</td>
  </tr>
</table>

<p> </p>
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -