菜鸟请教:怎样用VB提取文本文件内的数据到数据表中?
[RelativePriority]IDNUM Pri_SEQ Sec_SEQ MODE
[MultiPriorityBlock]
IDNUM CNO SEQ POS MODE
[RelativePriorityBlock]
IDNUM Pri_SEQ Sec_SEQ MODE
[BlockData]
IDNUM O X Y A PARTS BRM C M F PR MB PRISEQ
1 1 69.050 14.500 180.000 31 0 "A" 0 0 1000 0 0
2 1 138.850 169.750 0.000 24 0 "B" 0 0 1000 0 0
3 1 141.110 169.750 0.000 96 0 "C" 0 0 1000 0 0
4 1 121.850 173.050 -90.000 61 0 "D" 0 0 1000 0 0
5 1 156.790 169.800 180.000 1 0 "E" 0 0 1000 0 0
6 1 154.590 169.700 180.000 1 0 "F" 0 0 1000 0 0
7 1 143.650 169.750 180.000 2 0 "G" 0 0 1000 0 0
8 1 148.050 169.850 0.000 3 0 "H" 0 0 1000 0 0
9 1 138.700 176.600 0.000 4 0 "I" 0 0 1000 0 0
10 1 139.010 165.200 180.000 5 0 "J" 0 0 1000 0 0
[VPaletteData]
IDNUM N TRAY X Y ROT
[MultiBlock]
IDNUM RMODE
1 0
以上的文本只是一部分,我要提取[BlockData]的数据到数据表中,谢了!