我想创建这样的记事本
100001|10001|1001|91|9942321400|MR|Hari|Q|PUBLIC|249 MUNDON ROAD|MALDON|FL|44|TN|NO_PROVINCE|600004|IN|M|27304|9942321400|test@test.com|nothing|COMMENTS|1|Southeast
100001|10001|1001|91|9942321400|MR|Hari|Q|PUBLIC|249 MUNDON ROAD|MALDON|FL|44|TN|NO_PROVINCE|600004|IN|M|27304|9942321400|test@test.com|nothing|COMMENTS|1|Southeast
100001|10001|1001|91|9942321400|MR|Hari|Q|PUBLIC|249 MUNDON ROAD|MALDON|FL|44|TN|NO_PROVINCE|600004|IN|M|27304|9942321400|test@test.com|nothing|COMMENTS|1|Southeast
100001|10001|1001|91|9942321400|MR|Hari|Q|PUBLIC|249 MUNDON ROAD|MALDON|FL|44|TN|NO_PROVINCE|600004|IN|M|27304|9942321400|test@test.com|nothing|COMMENTS|1|Southeast
100001|10001|1001|91|9942321400|MR|Hari|Q|PUBLIC|249 MUNDON ROAD|MALDON|FL|44|TN|NO_PROVINCE|600004|IN|M|27304|9942321400|test@test.com|nothing|COMMENTS|1|Southeast
我将每个值都存储在 string 中。
dim a string="100001"
dim b as string ="10001"
Dim c As String = "1001"
Dim d As String = "91"
Dim e As String = "MR"
Dim f As String = "Hari"
Dim g As String = "Q"
Dim h As String = "PUBLIC"
Dim i1 As String = "249 MUNDON ROAD"
使用以下代码将内容写入记事本:
sw.WriteLine(a & "|" & b & "|" & c & "|" & d & "|" & dumphone & "|" & e & "|" & f & "|" & g & "|" & h
& "|" & i1)
但我收到错误。请帮我做这个?
未为类型“String”和“System.EventArgs”定义运算符“+”