reading from an access database into textboxes using C#
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
__________________
Quote:
There are more things in heaven and earth, Horatio,
Than are dreamt of in your philosophy.
Advertisements. Register and be a member of the community to get rid of them.
Re: reading from an access database into textboxes using C#
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.
Re: reading from an access database into textboxes using C#
use" bindingmanagbase command"......
__________________
----------------------------------------------------------
CHILL OUT AND HAVE FUN
---------------------------------------------------------