如何在ASP.NET MVC中创建联系人表单? [英] How do I create a contactus form in ASP.NET MVC?

查看:79
本文介绍了如何在ASP.NET MVC中创建联系人表单?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





如何在点击提交按钮后通过验证在Asp.Net MVC中创建一个ContactUs表单?



我应该创建一个模型并使用Razor命令查看和编写代码吗?



我想在使用Ajax正确发送后显示成功的消息。





感谢您的帮助



我是什么尝试过:



我尝试了模型和视图,但我不知道如何在
$ b后显示警告信息$ b

用Ajax点击提交按钮?

Hi,

How do I create a ContactUs Form in Asp.Net MVC with Validation after click on submit button?

Should I create a model and view and write the code with Razor Commands?

I want to show a successful message after sending correctly with Ajax.


Thanks for any help

What I have tried:

I have tried with model and view, but I don't know how to show the alert message after

click on submit button with Ajax?

推荐答案

建议您查看以下链接。我的所有链接都是应该进行简单谷歌搜索的第一页。



创建与我们联系的asp.net mvc - Google搜索 [ ^ ]



如何在ASP.NET MVC(ASP.NET 5)中实现联系我们页面 [ ^ ]



c# - 联系我们表格ASP。 net MVC - Stack Overflow [ ^ ]



如何在MVC中创建联系我们页面? | ASP.NET论坛 [ ^ ]



asp.net - 带电子邮件的MVC联系表格 - 堆栈溢出 [ ^ ]



在ASP.NET MVC项目中创建异步联系表单 [ ^ ]



使用ASP.NET MVC创建联系表单Frederik Vig - ASP.NET开发人员 [ ^ ]



现在,如果您按照其中一条链接说明并仍然卡住。然后随时回复一些代码示例,并清楚地解释您遇到的问题,我相信有人会更愿意提供帮助。
Recommend you look at the following links. All of my links are first page of what should have been a simple google search.

create contact us for asp.net mvc - Google Search[^]

How to Implement Contact Us Page in ASP.NET MVC (ASP.NET 5 )[^]

c# - Contact Us Form ASP.net MVC - Stack Overflow[^]

how to create a contact us page in MVC ? | The ASP.NET Forums[^]

asp.net - MVC Contact Form with Email - Stack Overflow[^]

Creating an Asynchronous Contact Form in an ASP.NET MVC Project[^]

Creating a contact form with ASP.NET MVC | Frederik Vig – ASP.NET developer[^]

Now if you were to follow one of these links instructions and still get stuck. Then feel free to come back with some code samples and a clear explanation of your issue you're having and I am sure someone would be more than willing to help.


这篇关于如何在ASP.NET MVC中创建联系人表单?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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