A cuisine Delphi

xiaoxiao2021-03-06  107

A simple way to add data to DBGIRD is very convenient.

WITH DM.SYSBKSETADOQ Do Begin Append; FieldbyName ('Book Category') .sstring: = Edit1.Text; Post; End; ShowMessage ('Add success');

My 'modification / complete' practice

If button2.caption = 'Modify' Ten BUTTON2.CAPTION: = 'Complete'; dbgrid1.readonly: = false; ELSE begin button2.caption: = 'modification'; dbgrid1.readOnly: = true;

Delete DBGRID data, what to choose, but if you are the same, you will report an error.

DM.sysbksetadoq.delete;

转载请注明原文地址:https://www.9cbs.com/read-98781.html

New Post(0)