阿祐筆記

2017年4月19日 星期三

[C#]錯誤訊息


錯誤訊息:
_Make sure that the class defined in this code file matches the 'inherits' attribute, and that it extends the correct base class (e.g. Page or UserControl)_
可能原因:
一開始用專案

解決方法

在C#
1.
把  namespace
{

}

去掉

1.
在網頁
CodeBehindee改 CodeFile

2.
去掉inherits逗點之前
Inherits="test1.exceltest"
張貼者: yo 於 晚上7:58
以電子郵件傳送這篇文章BlogThis!分享至 X分享至 Facebook分享到 Pinterest

沒有留言:

張貼留言

較新的文章 較舊的文章 首頁
訂閱: 張貼留言 (Atom)

關於我自己

yo
檢視我的完整簡介

網誌存檔

  • ►  2021 (5)
    • ►  11月 (1)
    • ►  10月 (1)
    • ►  8月 (3)
  • ►  2020 (2)
    • ►  5月 (2)
  • ►  2019 (2)
    • ►  12月 (1)
    • ►  4月 (1)
  • ►  2018 (1)
    • ►  6月 (1)
  • ▼  2017 (50)
    • ►  11月 (1)
    • ►  10月 (17)
    • ►  9月 (2)
    • ►  8月 (1)
    • ►  7月 (5)
    • ►  6月 (6)
    • ►  5月 (7)
    • ▼  4月 (4)
      • [oracle]oracleconnection 找不到參考
      • 找不到 CodeDom 提供者類型....
      • [C#]錯誤訊息
      • xamarin 教學網站
    • ►  3月 (7)
輕柔雅緻主題. 技術提供:Blogger.