L loloopop Unregistered / Unconfirmed GUEST, unregistred user! 2008-03-28 #1 怎样把文本文件导入数据库中的某个表中,要用adoquery
X xiaojun5556 Unregistered / Unconfirmed GUEST, unregistred user! 2008-03-29 #2 var ms:tmemorystream; begin ms:= tmemorystream.create; ms.LoadFromFile(OpenDialog1.FileName); ADOQuery1.FieldByName('wtext')).LoadFromStream(ms); 也可以用memo然后直接保存在text的字段中
var ms:tmemorystream; begin ms:= tmemorystream.create; ms.LoadFromFile(OpenDialog1.FileName); ADOQuery1.FieldByName('wtext')).LoadFromStream(ms); 也可以用memo然后直接保存在text的字段中