我正在使用下面的代码来生成一个弹出框。在哪里说“信息已准备好提交”我想添加“您的参考号是 12345”我正在使用会话获取该参考号,即会话(“ID”)。有没有办法可以将它添加到字符串中?
Try
Dim msg As String = "Hello!"
Dim script As String = "if(confirm('The information is ready to be submitted')) {window.location.href ='frmMain.aspx'; }"
ScriptManager.RegisterClientScriptBlock(Me, Me.[GetType](), "Test", script, True)
Catch ex As Exception
End Try