我有这两个代码行:
Dim templine() = Alfalines(i).Split(DataGridView1.Rows(s).Cells(1).Value)
textlines(i) = Alfaline(0) + DataGridView1.Rows(s).Cells(language_row).Value + Alfaline(1)
DataGridView1.Rows(s).Cells(1).Value
从第一行开始有值"Form2A186_1"
,并且Alfalines(i)
在错误发生时:“ Caption =”Form2A186_1”
问题是 split 命令将 F 识别为分隔符,并将字符串拆分为:
0: "Caption = "
1: "orm2A186_1"