1

过去一个小时左右我一直在看这个。谁能告诉我这有什么问题?

ManagerHtml = ManagerHtml.Replace("##Alerts_Popup##",AlertsPopup)

Dim sw As StreamWriter = New StreamWriter(SitePath & "slaOverViewPages\" & Manager("UserID") & "_" & Manager("Adjuster") & "_" & Module(1) & ".html")
sw.Write(ManagerHtml)
sw.Close()

这是编译器错误BC30201: Expression expected.导致它的行是Dim sw行。

谢谢你的帮助。

纳鲁姆

4

2 回答 2

1

Can you provide more information on what does the Module(1) returns? or can you try to move code into a separate lines like

Dim moduleName as String = Module(1)

and then using the variable moduleName in your code statement statement.

于 2010-11-26T13:21:50.003 回答
0

我猜 Manager("xx") 中的那些双引号是令人困惑的事情。如果使用单引号会发生什么?

于 2010-11-26T13:13:40.523 回答