我们如何在ASP.NET中创建SQL连接(C#) [英] How can we create sql connection in ASP.NET(C#)
问题描述
您好
我正在尝试创建一个包含5个多个问题的网站,每个答案都应该被用户选择发送到数据库
如果用户回答了 第一个问题应该将答案的数量发送到数据库
最终的代码应该是这样的(保存在数据库中的项目):12211
这意味着用户为第一次测试选择项目1
我在ASP.Net中为我的网络设计了测试但是如何将我的测试连接到数据库用于记录物品的数量
你能给我一个例子吗
谢谢A 很多
嗨RouzbehPC576,
对不起,这里不是正确的论坛你来处理你的问题。请在
ASP.NET论坛上重新打开一个新案例,以获得更好的支持。
感谢。
Hello
I am trying to create a website that includes 5 multiple question each answer that user choose should be sent to a database
like if the user answered the first question the number of the answer should be sent to database
the final code should be like this(the item that is saved in the database):12211
this means the user chooses the item 1 for the first test
I designed the tests in ASP.Net for my web but how can i connect my tests to the database for recording the number of the items
can you give me an example of that
Thanks A lot
Hi RouzbehPC576,
I am sorry that here is not the correct forum for you to deal with your issue. Please reopen one new case on the ASP.NET forum to get better support.
Thanks.
这篇关于我们如何在ASP.NET中创建SQL连接(C#)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!