如何从数据库中检索数据并使用c#将其显示在文本框中 [英] how to retrieve data from database and display it in textboxes using c#

查看:538
本文介绍了如何从数据库中检索数据并使用c#将其显示在文本框中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hiii,


任何人都可以告诉我如何从数据库中检索特定人的信息并将其显示在文本框中,我的意思是如果我输入员工姓名,它应该显示所有在他输入的文本框中有关该人的信息..



谢谢!!!!




问候,

Deepshika。

解决方案


Hiii,


任何人都可以告诉如何从数据库中检索特定人员的信息并将其显示在文本框中,我的意思是如果我输入员工姓名,它应该显示该人员的所有信息。他输入的文本框..



谢谢!!!!



此致,

Deepshika。



您知道如何使用C#连接数据库吗?



您是否知道如何使用C#连接数据库?



查看System.Data.OleDb命名空间,它应该为您提供所需的一切。


是的我知道如何连接

Hiii,

can any one tell how to retrieve information of particular person from database and display it in text boxes, i mean if i enter name of employee name it should display all information about that person in the text boxes which he has entered..


Thank you!!!!



Regards,
Deepshika.

解决方案

Hiii,

can any one tell how to retrieve information of particular person from database and display it in text boxes, i mean if i enter name of employee name it should display all information about that person in the text boxes which he has entered..


Thank you!!!!



Regards,
Deepshika.

Do you know how to connect to a database using C#?


Do you know how to connect to a database using C#?

Check out the System.Data.OleDb namespace, it should give you everything you need.


yes i know how to connect


这篇关于如何从数据库中检索数据并使用c#将其显示在文本框中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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