如何创建mvc3 rzor应用程序 [英] how to create mvc3 rzor application

查看:79
本文介绍了如何创建mvc3 rzor应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

如何在MVC3剃须刀应用程序中编写代码以创建登录表单并将数据存储在databse中.请帮助我


谢谢您.

Hi all,

how to write code in MVC3 razor application for creating log in form and stores the data in databse. please help me


thanking you

推荐答案

创建新的MVC项目时,您已经在应用程序中创建了一个登录窗口/表单,并且可以在Views中找到代码.帐户文件夹(用于cshtml代码),以及类似地在Controllers内>控制器零件代码和型号代码的帐户控制器可以在模型"部分中找到.如果要创建自己的登录表单,可以使用这些代码.
如果您不希望已经创建这些文件,那么您需要自己创建它.我希望这是您的答案.

请参阅下面的链接以开始使用
http://www.asp.net/mvc [
When you create new MVC project you already have one login window/form created in application and you can find the codes inside the Views> Account Folder (for cshtml code) and similarly inside Controllers> Account controllers for controller part code and for model code you can find it in model section. You can take help of these code if you want to create your own loggin form.
In case your care not getting these files already created then you need to create it yourself.I hope it is your answer.

refer below link for getting started
http://www.asp.net/mvc[^]


请参阅以下链接以获取类似的文章:
如何使用ASP.NET MVC 3 Razor创建登录页面(5之1) [如何使用ASP.NET MVC 3 Razor创建登录页面 [面向初学者的MVC 3.0代码优先 [
Refer the links below for similar articles:
How to create a login page using ASP.NET MVC 3 Razor (1 of 5)[^]
How to create a login page using ASP.NET MVC 3 Razor[^]
MVC 3.0 Code First for Beginners[^]

Hope it helps!
      --Amit


这篇关于如何创建mvc3 rzor应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆