1,178
社区成员
发帖
与我相关
我的任务
分享
if ((ClientDataSet1->State != dsInsert) &&
(ClientDataSet1->State != dsEdit))
ClientDataSet1->Insert();
TMemoryStream *pMS = new TMemoryStream;
try
{
Image1->Picture->Bitmap->SaveToStream(pMS);
pField->LoadFromStream(pMS);
}
__finally
{
delete pMS;
}
ClientDataSet1->Post();