分離記事本,我想這樣的寫作內容與用vb.net
100001|10001|1001|91|9942321400|MR|Hari|Q|PUBLIC|249 MUNDON ROAD|MALDON|FL|44|TN|NO_PROVINCE|600004|IN|M|27304|9942321400|[email protected]|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|[email protected]|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|[email protected]|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|[email protected]|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|[email protected]|nothing|COMMENTS|1|Southeast
創建記事本我保存每串中的每一個值。
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)
,但我得到的錯誤。請幫我做這個?
操作「+」不是類型「字符串」和定義「System.EventArgs」
什麼是'dumphone'? – sloth 2012-07-17 09:14:08
它是一個字符串數據類型的變量包含值像9865016695 – vps 2012-07-17 09:16:17