Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/vb.net/15.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Html 表单标记中的属性操作不';我找不到我的行动结果_Html_Asp.net Mvc_Forms Authentication - Fatal编程技术网

Html 表单标记中的属性操作不';我找不到我的行动结果

Html 表单标记中的属性操作不';我找不到我的行动结果,html,asp.net-mvc,forms-authentication,Html,Asp.net Mvc,Forms Authentication,我有一个mvc3应用程序,我正在尝试实现表单身份验证。我试图在SecurityController控制器中调用CheckUser ActionResult,但它就是找不到它。我猜它会在“视图”文件夹中搜索。有什么想法吗?这是html代码,是的,该操作称为CheckedUser <form action="Security/CheckUser" method="post"> Username:<br /> <input type="text" name

我有一个mvc3应用程序,我正在尝试实现表单身份验证。我试图在SecurityController控制器中调用CheckUser ActionResult,但它就是找不到它。我猜它会在“视图”文件夹中搜索。有什么想法吗?这是html代码,是的,该操作称为CheckedUser

<form action="Security/CheckUser" method="post">
    Username:<br />
    <input type="text" name="usernametb" /><br />
    Password:<br />
    <input type="password" name="passwordtb" /><br />
    <br />
    <input type="submit" va``lue="Log In" />
</form>

用户名:

密码:


试试这个:

<form action="/Security/CheckUser" method="post">

代替:

<form action="Security/CheckUser" method="post">

???为什么要发布表单(视图)。。。问题是,你的“路由器”与请求安全/检查用户。。。没有代码就没有解决方案