• CONTEST ALERT - Experience the power of DDR5 memory with Kingston Click for details

reading from an access database into textboxes using C#

Status
Not open for further replies.
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

Broken In
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.
 
Status
Not open for further replies.
Top Bottom