作者:赵美晓 | 来源:互联网 | 2023-09-18 14:43
Ihavea.net4.0WindowsFormsapplicationandalocaldatabase.ThecolumnsareIDnumber,Firstn
I have a .net 4.0 Windows Forms application and a local database. The columns are ID number, First name, Last name and Age I also have a text box that a user types in an ID numbers and presses enter. On the enter press I want to populate a group of text boxes with the First name, Last name and age relevant to the ID number.
我有一个.net 4.0 Windows窗体应用程序和一个本地数据库。列是ID号,名字,姓氏和年龄我还有一个文本框,用户在ID号中键入并按回车键。在输入印刷机上,我想填充一组文本框,其中包含与ID号相关的名字,姓氏和年龄。
This is my first time using any database so I'm not really sure where to start. I've tried google searching a few tutorials but they don't seem to focus on local databases or how to populate a text box.
这是我第一次使用任何数据库,所以我不确定从哪里开始。我已经尝试谷歌搜索一些教程,但他们似乎并没有专注于本地数据库或如何填充文本框。
If you know of any tutorials or have some code that would help, that would be great!
如果您知道任何教程或者有一些有用的代码,那就太棒了!
2 个解决方案