DIGIT-ARC read-only archive · snapshot: July 23, 2026

reading from an access database into textboxes using C#

4 posts · originally from https://geek.digit.in/community/threads/reading-from-an-access-database-into-textboxes-using-c.118940/

arpanmukherjee1
arpanmukherjee1 Original post #1
Jul 3, 2009 at 3:28 PM
i'm having problems reading information from my database and posting them into textboxes on my windows form so i can perform functions on them/ i'm trying to use the OLedb but i just can't figure it out


any help would be greatly appreciated
adatapost
Jul 5, 2009 at 1:14 PM
Here is code snippet for you:
1. Create an instance of OledBConnection
2. Create an instance of Olddbcommand
3. If you want to fetch a singlevalue then open a connection and invoke the ExecuteScalar() method.
If you want to fetch multi-value then invoke ExecuteReader method.

Reply, if you get solution or problem.
arpanmukherjee1
Jul 6, 2009 at 3:17 PM
can you please post the coding ??????
P
Jul 8, 2009 at 1:19 AM
use" bindingmanagbase command"......