student.cpp
来自「C++ Builder数据库开发经典案例解析 示例程序都是在C++ Build」· C++ 代码 · 共 26 行
CPP
26 行
//---------------------------------------------------------------------------
#include <vcl.h>
#pragma hdrstop
#include "student.h"
//---------------------------------------------------------------------------
#pragma package(smart_init)
#pragma link "Parent"
#pragma resource "*.dfm"
TfmStudent *fmStudent;
//---------------------------------------------------------------------------
__fastcall TfmStudent::TfmStudent(TComponent* Owner)
: TfmParent(Owner)
{
this->szCondition1 = "学号";
this->szCondition2 = "姓名";
this->szCondition3 = "年级";
Table1->Active = true;
// 设置查询条件
this->SetSeekEditStatus();
lblCount->Caption = "记录数: " + IntToStr(Table1->RecordCount) ;
this->Height = 480;
}
//---------------------------------------------------------------------------
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?