interface
type
tuser=record
name:string[12];
psd:string[8];
end;
tday=record
ontime,oftime:tdatetime;
worktime:byte;
moretime:byte;
stoptime:byte;
week:byte;
flag:byte;
end;
tmonth=record
month:string[12];
days:array[1..31] of tday;
end;
uses//这里提示出错,请各位指点
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs;
[Error] myprogram.pas(23): Declaration expected but 'USES' found
解决方案 »
- 当哥掀开妹的裙子,哥看到的是。。。。。
- 向在线html编辑器提交表单,其采用iframe内嵌的编辑区,怎样向textarea提交数据,给出delphi代码
- 关于EXCEL数据导入SQL2000数据库的问题
- 为什么我的combobox只能显示一行查询出的数据.
- delphi6如何读Access数据库中字段的标题?
- 问个数据库的问题
- 非常奇怪的问题
- 可以象控制Word那样控制Flash么?
- 一个怪事。调用DLL中的窗体,可是窗体闪了一下就没有了,怎么回事?
- 请问:为什么不是主窗体的窗体按最小化按钮不会缩小到屏幕下面的任务栏?如何解决?
- 帮我看看,我哪儿错了(在线等)
- ======ClientSocket控件关闭不了socket连接!======
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs;type
tuser=record
name:string[12];
psd:string[8];
end;
tday=record
ontime,oftime:tdatetime;
worktime:byte;
moretime:byte;
stoptime:byte;
week:byte;
flag:byte;
end;
tmonth=record
month:string[12];
days:array[1..31] of tday;
end;
你这样子试试看.新建的单元文件默认都是这样的!
--------
SQL:='select * from hh';
open//先打开
查询
close//查询完成后就关掉
---------
dbgrid中Columns中每个字段名FieldName要与adoquery1的字段关联
dbgrid.datasource = tdatasource