【问题标题】:Compiler Error Message: BC30205: End of statement expected编译器错误消息:BC30205:预期语句结束
【发布时间】:2013-01-11 01:18:38
【问题描述】:

这段代码有什么问题??

Compiler Error Message: BC30205: End of statement expected.

Source Error:

Line 1:  <script runat="server" type="css">
Line 2:  protected void Page_Load(object sender, EventArgs e)
Line 3:  {
Line 4:      if (!IsPostBack)
Source File: C:\inetpub\wwwroot\logon\page.aspx    Line: 1

请帮忙?

【问题讨论】:

  • type="css" 可能吗?
  • 没有看到你的 Page_Load 方法的其余部分,这将很难说。您可以将其余方法添加到您的问题中吗?
  • 我已经解决了。感谢您的回复。我只是在我的代码中添加 :)
  • 不是type=css,但这肯定是不正确的。向我们展示页眉,也许您在那里定义了一些错误,或者您的其余代码,您忘记关闭一些括号。
  • 我已经解决了我的问题 :)) 我刚刚在我的代码中添加了 :) 谢谢大家!

标签: asp.net compiler-errors expression-web


【解决方案1】:

我已经解决了我的问题 :)) 我刚刚在我的代码中添加了 :) 谢谢大家!

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2023-03-06
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多