Dim result = dba.ExecuteSelect(sql.ToString())
Dim CompanyName = DirectCast(result(0), M_CompanyEntity).Name_EN
Dim SOPrintLine1 = DirectCast(result(0), M_CompanyEntity).SOPrintLine1
Dim SOPrintLine2 = DirectCast(result(0), M_CompanyEntity).SOPrintLine2
Dim SOPrintLine3 = "http://www.baidu-lift.com/about/contact.html"
Dim SOPrintLine4 = DirectCast(result(0), M_CompanyEntity).SOPrintLine4
Dim CompanyInfoMaster As String = "/fb1/fz""10.5""/g""0""{0}/n/fz""7.5"" {1}/n/fz""7.5"" {2}/n/fz""7.5"" {3}/n/fz""7.5"" {4}"
Dim CompanyInfo = String.Format(CompanyInfoMaster, CompanyName, SOPrintLine1, SOPrintLine2, SOPrintLine3, SOPrintLine4)
fpSpread.ActiveSheetView.PrintInfo.Footer = CompanyInfo
预想结果打印出来SOPrintLine3 的显示内容应为 : http://www.baidu-lift.com/about/contact.html
实际显示内容为:http://www.baidu-lift.com/about ontact.html
"/c" 变成了转义符
请告知怎么解决这个问题。 |