Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我的 MVC 4 应用程序要求我将表单的文本框值存储在 SQL 数据库中。我已经创建了用于插入记录的存储过程。但是,[HttpPost]我不清楚要在控制器中编写的功能..
[HttpPost]
任何人都可以提出解决方案吗?
本页:如何使用 ADO.NET 和 Visual C# .NET 调用参数化存储过程包含一些可以帮助您的示例代码。