我想把我的字符串放到幾行中。我怎麼能這樣做? 這是我想要剪切的代碼行(但它們仍然是字符串)。如何把另一行字符串(仍然在一個短語中)在vb.net?
sql = "INSERT INTO tblClientInfo (genClientID, fullName, address, comaker, colateral, atmPIN, principal, "
& "interest, principalInWords, terms, interestPerMonth, principalperMonth, totalPayment, interestPercentage, "
& " interestBal, principalBal, theDate, totalBal)"
此代碼返回錯誤。串聯或切割長串的正確方法是什麼?
你之後的燕尾是「連續字符」。 http://msdn.microsoft.com/en-us/library/aa711641(v=vs.71).aspx – 2013-02-22 03:22:08