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 调用参数化存储过程包含一些可以帮助您的示例代码。
我的目标是对齐,如附图所示(左侧的字段可以有任何宽度,但右侧的字段应该从相同的X坐标开始)。
X
现在我正在使用一个简单的表格代码来实现这一点:
<table><tr> <td>Left1<