reg: - 使用c#更新mysql中的数据表 [英] reg:- Update of data tables in mysql using c#
本文介绍了reg: - 使用c#更新mysql中的数据表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
你好,
我是C#的新手。
我正在工作在C#中使用MS SQL连接的Windows表单应用程序,用户可以在其中注册他的详细信息。
目前我可以输入用户的详细信息,但无法更新(保存)数据库表中的详细信息。
关闭应用程序后,看不到新的用户详细信息。
你能帮我解决任何一个例子吗。
提前致谢。
Hello,
I''m new to C#.
I''m working on a Windows form application in C# using MS SQL connection, in which user can register his details.
At present I''m able to enter the details of a user, but not able to update (save) the details in database table.
After I close the application, new user details are not seen.
Could you please help me with any example.
Thanks in advance.
推荐答案
不确定如果你的意思是MySql(在标题中)或Sql Server(在文本中),但它采用的是Sql Server。
你可以开始的几个教程:
- ADO.NET代码示例 [ ^ ]
- 第01课:ADO.NET简介 [ ^ ]
- 第03课:SqlCommand对象 [ ^ ]
Not sure if you mean MySql (in the title) or Sql Server (in the text), but taken it is Sql Server.
Few tutorials you could start with:
- ADO.NET Code Examples[^]
- Lesson 01: Introduction to ADO.NET[^]
- Lesson 03: The SqlCommand Object[^]
这篇关于reg: - 使用c#更新mysql中的数据表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文