如何使用数据库进行反击? [英] How can I make a counter clicker with the use of database?

查看:90
本文介绍了如何使用数据库进行反击?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

将有2个表格,它们将是表格1和2,这是控制器,每个表格有一个下一个按钮,一旦你点击它,增量号码将显示在他们的标签盒中,形式为3。 />


我的老师说我可以使用数据库来工作,我可以轻松地为它构建一个报表。我不知道怎么样,请帮我编码项目组!谢谢!!!



我尝试过:



没什么。

there will be 2 forms which will be form 1 and 2 which is the controller where there is a next button per form that once you click it an increment number will be shown in their label box which is in form 3.

My teacher says that i can use database for it to work and for me to easily build a report form for it. i don't know how, please help me code project team! Thank you!!!

What I have tried:

Nothing.

推荐答案

数据库对于这样的小任务来说太过分了。我会改用XML文件。



BTW,学习如何编写代码也意味着学习a)如何阅读和理解需求,然后b)开发一个或者在要求的约束下针对所述问题的更多解决方案。



如果你不学习如何有效地掌握第一项技能,那么熟练掌握第二项技能将会更加难以捉摸。
A database is overkill for such a minor task. I would use a XML file instead.

BTW, learning how to write code also means learning a) how to read and understand requirements, and then b) develop one or more solutions for the stated problem within the constraints of the requirment.

If you don't learn how to effectively master the first skill, becoming proficient in the 2nd skill will be even more elusive.


为了让您了解复杂的 SQL Server 数据库编程是什么,请参阅此简单文章:

C#Project on Beginners [ ^ ]

就个人而言,我不建议初学者使用SQL Server,而是PostgreSQL或MySQL,或其他易于处理的数据库。

如果你只有一些简单的设置要坚持,不需要数据库,你可以使用'用户设置',参见:如何:在以下位置编写用户设置运行用C#| Microsoft Docs [ ^ ]
To give you an idea how complex SQL Server database programming is, see this "simple" article:
C# Project on Database for Beginners[^]
Personally I would not recommend SQL Server for beginners, but rather PostgreSQL or MySQL, or another easy to handle database.
If you only have some simple settings to persist, a database is not needed, you could use 'User settings', see: How To: Write User Settings at Run Time with C# | Microsoft Docs[^]


这篇关于如何使用数据库进行反击?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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