asp.net mvc - Namespace in view

前端 未结 4 1182
失恋的感觉
失恋的感觉 2021-02-19 02:52

I place using namespace in a view code behind but i can\'t call any class of this name space in aspx.

In codebehind:

using MVCTest.Controller;

4条回答
  •  难免孤独
    2021-02-19 03:35

    Did you remember to include the assembly as well? E.g. like this:

    // system.web / compilation / assemblies
    
    

提交回复
热议问题