
如何取得當前網頁代碼的classname?
例如:我的一個頁面代碼為
Public Class Webquest_card_instock01
Inherits System.Web.UI.Page
....
end class
然後我需要在 pageload 中取得 Webquest_card_instock01 這個名字, 我應該用什麼辦法?
__________________________________________________________________________
up
__________________________________________________________________________
this.GetType().ToStringh() //c#
__________________________________________________________________________