@{
var controller = @HttpContext.Current.Request.RequestContext.RouteData.Values["controller"].ToString();
var action = ViewContext.Controller.ValueProvider.GetValue("action").RawValue;
}
asp.net mvc get controller name and action name
相關文章
- 13.there is no action mapped for namespace and action name associated with contAPPnamespace
- Azure databricks get notebook name
- ASP.NET MVC下使用AngularJs語言(一):Hello your nameASP.NETMVCAngularJS
- Laravel7.0 Route::get ()->name ('home') route ('home') 報錯Laravel
- WPF筆記3——x:Name 與 Name筆記
- Oracle修改instance_name、db_name、db_unique_name、service_namesOracle
- ImportError: cannot import name 'get_ora_doc' from partially initialized moduleImportErrorZed
- IDBDatabase.nameDatabase
- IDBObjectStore.nameObject
- Python(Path().name)Python
- if __name__==”__main__”:AI
- File name 屬性
- if __name__ == ‘__main__‘AI
- window.name 用法
- ‘map’ does not name a type
- Seinfeld Netflix episode name
- [BUG反饋]Admin/View/Article/sidemenu.html的Think.ACTION_NAME取值錯誤ViewIDEHTML
- [程式設計題]查詢所有員工的last_name和first_name以及對應的dept_name程式設計AST
- CSS 匹配指定name元素CSS
- fatal: Not a valid object name: 'master'ObjectAST
- ImportError: cannot import name parseImportError
- error: 'cout' does not name a type|Error
- 7.57 CON_NAME_TO_ID
- Unable to locate factory with name [default]
- iptables:No chain/target/match by the nameAI
- window.name 跨域跨域
- 獲取 Laravel 路由 nameLaravel路由
- error: ‘xxx’ does not name a typeError
- Error creating bean with name 'tomcatEmbeddedServletContainerFactory'ErrorBeanTomcatServletAI
- [virtualbox] temporary failure in name resolutionAI
- group by event_name, operation
- Error creating bean with name ‘dataSource‘ErrorBean
- Just as it's the EA name attached to it
- 叢集修改OCR中記錄的db_unique_name以及db_name
- server_name 原始碼分析Server原始碼
- JavaScript 函式 name 屬性JavaScript函式
- [MV] - You Give REST a Bad NameREST
- CSS3 animation-nameCSSS3
- Caused by: Error: ' ' is not a valid resource name characterError