急问 如何将TXT文件插入数据库中,前两位是字段 空格后面是内容
类似于这种格式PT S
AU Yildiz, P
AF Yildiz, Pelin
TI Virtual film stages regarding computational intelligence as
communication medium & the application 易做图ysis on the sample from
Turkey
SO WORLD CONGRESS ON ENGINEERING 2007, VOLS 1 AND 2
SE Lecture Notes in Engineering and Computer Science
LA English
DT Article
CT World Congress on Engineering 2007
CY JUL 02-04, 2007
CL London, ENGLAND
SP Int Assoc Engineers
DE virtual film stage, computational intelligence, communication,
multidimensional application --------------------编程问答-------------------- 按行读,然后分解成两个字符串,再拼装SQL语句.
前提是已有一个结构相符的数据库.
或者,用datatable对象也可以.
只要字符串分解出来,别的都好办了. --------------------编程问答-------------------- 看看能不能使用这个组件,
http://www.filehelpers.com/
补充:.NET技术 , C#