2005年8月30日

DBGrid的使用学习

摘要: DBGrid使用学习:Grid的属性设置:Options: 的dgRowSelect设为true:即为:整行选中ReadOnly 设为trueDBGrid的一些重要属性:对DBGrid控件进行初始化“ if(this->GridSafety->DataSource->DataSet!=NULL) { this->GridSafety->DataSource... 阅读全文

posted @ 2005-08-30 16:55 痛苦并快乐着 阅读(829) 评论(0) 推荐(0) 编辑

C++Builder中的一些公共函数

摘要: //C++Builder中的一些公共函数//根据SQL语句返回记录集int __fastcall TGlobalFun::GetRecordCount(AnsiString sql){ int ret=0; ptquery->Active = false; ptquery->SQL->Text = sql; try { ptquery->Open(); ret= ptque... 阅读全文

posted @ 2005-08-30 16:45 痛苦并快乐着 阅读(1254) 评论(0) 推荐(0) 编辑

导航