Forum     

Go Back   Digit Technology Discussion Forum > Software > Programming
Register FAQ Calendar Mark Forums Read

Programming The destination for developers - C, C++, Java, Python and the lot


Closed Thread
 
LinkBack Thread Tools Display Modes
Old 03-07-2009, 03:28 PM   #1 (permalink)
XLr8
 
arpanmukherjee1's Avatar
 
Join Date: Sep 2008
Posts: 637
Default 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.
arpanmukherjee1 is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 05-07-2009, 01:14 PM   #2 (permalink)
Right Off the Assembly Line
 
adatapost's Avatar
 
Join Date: Jul 2009
Location: India/Gujarat/Mehsana
Posts: 14
Default 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.

Reply, if you get solution or problem.
adatapost is offline  
Old 06-07-2009, 03:17 PM   #3 (permalink)
XLr8
 
arpanmukherjee1's Avatar
 
Join Date: Sep 2008
Posts: 637
Default Re: reading from an access database into textboxes using C#

can you please post the coding ??????
__________________
Quote:
There are more things in heaven and earth, Horatio,
Than are dreamt of in your philosophy.
arpanmukherjee1 is offline  
Old 08-07-2009, 01:19 AM   #4 (permalink)
Right Off the Assembly Line
 
Join Date: Sep 2005
Location: India
Posts: 40
Default Re: reading from an access database into textboxes using C#

use" bindingmanagbase command"......
__________________
----------------------------------------------------------
CHILL OUT AND HAVE FUN
---------------------------------------------------------
popper1987 is offline  
Closed Thread

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


 
Latest Threads
- by Sujeet
- by gforz
- by soumya

Advertisement




All times are GMT +5.5. The time now is 03:14 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2