从数据库获取信息 [英] getting informations from database
本文介绍了从数据库获取信息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在用ADO .Net实体数据模型开发一个应用程序,我有一个表用户,有一个来自sql db的3列(idUser,nameUser,statusUser)。代码是什么,选择表的第一个用户(statusUser = 0),并在标签中显示她的名字?
i'm developping an application with ADO .Net entity data model, i have a table Users, with 3 columns (idUser, nameUser, statusUser), from an sql db. What is the code to, select the first user of the table that have (statusUser = 0), and show her name in a label?
推荐答案
我建议你从这里开始:
初学者教程了解ADO.NET [ ^ ]
ADO.NET [ ^ ]
ADO.NET示例应用程序 [ ^ ]
I would suggest you to start here:
A Beginner's Tutorial for Understanding ADO.NET[^]
ADO.NET[^]
ADO.NET Sample Application[^]
这篇关于从数据库获取信息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文