[求助]vb转变为C#
求各位大虾帮忙,把下面的VB转化为C#小弟快死了
InputFileNum = FreeFile
i = 0
Open "C:\Enterprise\EdiLogfile" For Input As #InputFileNum
Do While Not EOF(InputFileNum)
Line Input #InputFileNum, strInput
If Trim(strInput) <> "" Then
i = i + 1
strEntry = ""
arrData = Split(strInput, ",")
strFilename = arrData(0)
arrData1 = Split(strFilename, "\")
strFile_detail = Left(arrData1(4), 3)
strCreateDate = "20" & Left(Right(arrData(0), 14), 6)
strCreateTime = Left(Right(arrData(0), 8), 6)
strISANo = arrData(5)
strSuccFlag = arrData(7)
strEDI = Left(arrData(5), 3)
If strEDI = "856" Then
strEDI = Left(arrData(5), 3) & "PACK"
End If
[此贴子已经被作者于2005-4-26 18:24:59编辑过]