网站地图| 免费获取|
免费论文网
  • 网站首页|
  • 论文范文|
  • 修改降重|
  • 职称论文|
  • 合作期刊|
  • 论文下载|
  • 计算机论文|
  • 外文翻译|
  • 免费论文|
  • 原创论文|
  • 开题报告论文
搜索

当前位置:免费论文网 -> 免费论文 -> 计算机论文 -> sql2000+公寓管理系统+delphi[开题报告+论文+源代码+答辩ppt+外文翻译](二)
计算机论文| ASP设计| Delphi| VB设计| JSP设计| ASP.NET设计| VB.NET| java设计| VC| pb| VS| dreamweaver| c#.net| vf| VC++| 计算机论文范文| 论文下载| 自动化论文

sql2000+公寓管理系统+delphi[开题报告+论文+源代码+答辩ppt+外文翻译](二)

sql2000+公寓管理系统+delphi[开题报告+论文+源代码+答辩ppt+外文翻译](二) t1Click(Sender: TObject);
var floorcount,roomcount :integer;
    f,r :integer;
begin
                       ///在个Edit都不能为空
    if Edit_floorNum.Text='' then
      begin
        showmessage('楼房号不能为空!');
        Edit_floorNum.SetFocus;
      end
      else
      if Edit_floorcount.Text='' then
        begin
          showmessage('楼层数不能为空!');
          Edit_floorcount.SetFocus;
        end
        else
        if Edit_roomcount.Text='' then
          begin
            showmessage('每层房间数不能为空!');
            Edit_roomcount.SetFocus;
          end

  else
  begin
    floorcount:=strtoint(Form_floorconfig1.Edit_floorcount.Text);
    roomcount:=strtoint(Form_floorconfig1.Edit_roomcount.Text);
    for f:=1 to floorcount do
    with Form_floorconfig1.Query1 do
      begin
        for r:=1 to roomcount do
            begin
            Close;
            SQL.Clear;
            SQL.Add('insert into room(Num_room) values(:x1)');
            if r<10 then
              parambyname('x1').asstring:=Edit_floorNum.Text+inttostr(f)+'0'+inttostr(r)
            else
              parambyname('x1').asstring:=Edit_floorNum.Text+inttostr(f)+inttostr(r);
            ExecSQL;
          end;
      end;
    end;
end;
procedure TForm_floorconfig1.Edit_floorcountKeyPress(Sender: TObject;
  var Key: Char);            
begin
  if not (key in ['0'..'9',#13,#8]) then
  key:=#0;
end;
procedure TForm_main.N1Click(Sender: TObject);       //主窗体的壁纸设置
begin
  if Ope

首页 上一页 1 2 3 4 5 6 下一页 尾页 2/6/6

sql2000+公寓管理系统+delphi[开题报告+论文+源代码+答辩ppt+外文翻译](二)由免费论文网(www.jaoyuw.com)会员上传。
原创论文流程 相关论文
上一篇:delphi+工资管理系统+access[开题.. 下一篇:delphi货运管理系统+access[开题..
推荐论文 本专业最新论文
Tags:sql2000 公寓 管理系统 delphi 2010-04-17 17:32:41【返回顶部】
精彩推荐
发表论文

联系方式 | 论文说明 | 网站地图 | 免费获取 | 钻石会员 | 硕士论文


免费论文网提供论文范文,论文代发,原创论文

本站部分文章来自网友投稿上传,如发现侵犯了您的版权,请联系指出,本站及时确认并删除  E-mail: 17304545@qq.com

Copyright@ 2009-2020 免费论文网 版权所有 湘ICP备19027999