Fish-E's Profile
Reputation: 0
Apprentice
- Group:
- New Members
- Active Posts:
- 5 (0.02 per day)
- Joined:
- 22-August 12
- Profile Views:
- 62
- Last Active:
Feb 25 2013 09:44 AM- Currently:
- Offline
Previous Fields
- Dream Kudos:
- 0
Posts I've Made
-
In Topic: Outputting data from an .accdb database to a textbox?
Posted 25 Feb 2013
Actually thanks to your second post I'm now able to output data from the database
I've now got to work out how to make the text box update when I press a button (to navigate to the next record)! -
In Topic: Outputting data from an .accdb database to a textbox?
Posted 25 Feb 2013
andrewsw, on 24 February 2013 - 03:11 PM, said:There is a simple example here at MSDN of reading data from a DataReader. Click the Get.. links on the left to obtain other ways to retrieve the field(s) data.
It depends:
How many fields are retrieved from the table? How many rows?
Do you want to retrieve the data from a specific column or field-name?
Your post states that you want to put the data into a single TextBox; is this correct?
I've had a look at the code and it's not explained, nor does it want to work. OracleCommand (etc) cannot be found and the article does not explain how to solve this. A quick google search indicates that I need to use using System.Data.OracleClient; however OracleClient does not exist in the namespace System.Data.
At the moment it's connected to a very simple database. The database has one table (Test) which has 2 fields with one record ("2 x 1"). The finish product will have multiple tables, each with multiple fields and multiple records. Each textbox in the program will contain the data from one field / records at a time.
I don't know if I've explained that very well. I can draw a diagram if it'll help.
andrewsw, on 24 February 2013 - 03:20 PM, said:In general it is better to use Data Binding - to link the form to a data-source.
I'll read through this. -
In Topic: Passing data between forms, not receiving expected result
Posted 22 Aug 2012
I apologise for not using the search function, I was in a hurry when I posted earlier.
Thank you for the links. I'll have a look at them and if I have any further problems I'll post here.
My Information
- Member Title:
- New D.I.C Head
- Age:
- Age Unknown
- Birthday:
- Birthday Unknown
- Gender:
Contact Information
- E-mail:
- Private
Friends
Fish-E hasn't added any friends yet.
|
|


Find Topics
Find Posts
View Reputation Given
|
Comments
Fish-E has no profile comments yet. Why not say hello?