Click here to Skip to main content
15,920,111 members
Home / Discussions / C#
   

C#

 
GeneralRe: CSharp Studying Pin
Melanius4-Jan-04 2:40
Melanius4-Jan-04 2:40 
GeneralRe: CSharp Studying Pin
Nick Parker4-Jan-04 6:18
protectorNick Parker4-Jan-04 6:18 
GeneralRe: CSharp Studying Pin
Michael P Butler4-Jan-04 3:53
Michael P Butler4-Jan-04 3:53 
GeneralLoading assemblies Pin
peon20043-Jan-04 21:56
susspeon20043-Jan-04 21:56 
GeneralRe: Loading assemblies Pin
leppie3-Jan-04 22:13
leppie3-Jan-04 22:13 
GeneralRe: Loading assemblies Pin
Heath Stewart4-Jan-04 8:09
protectorHeath Stewart4-Jan-04 8:09 
GeneralRe: Loading assemblies Pin
Broken God4-Jan-04 0:27
Broken God4-Jan-04 0:27 
Generalinserting images into access database Pin
Steve1_rm3-Jan-04 16:19
Steve1_rm3-Jan-04 16:19 
Hello

I am creating a database which will be used to display information and pictures for houses. I have done everything but be able to insert the pictures and retrieve them from the database.

This is the code l am using to make the connection with the database

//Example Connection
m_cnADONetConnection.ConnectionString = @"Provider=Microsoft.jet.OLEDB.4.0;data source=C:\Houses";
m_daDataAdapter = new OleDbDataAdapter("Select * From Houses",m_cnADONetConnection);
OleDbCommandBuilder m_cbCommandBuilder = new OleDbCommandBuilder(m_daAdapter);
m_daDataAdapeter.Fill(m_dtContacts);

//This is what i am using to retrieve from the database, not sure how to do this for a image control.
txtHouseID.text = Rows[rowPosition]["HouseID"].ToString();

To select the picture l want to add to the database, l am using a open dialog box, which works, but l can't add it to the database.

Many thanks in advance

Steve
GeneralRe: inserting images into access database Pin
Heath Stewart3-Jan-04 17:30
protectorHeath Stewart3-Jan-04 17:30 
GeneralRe: inserting images into access database Pin
Anonymous3-Jan-04 18:02
Anonymous3-Jan-04 18:02 
GeneralRe: inserting images into access database Pin
Heath Stewart3-Jan-04 18:05
protectorHeath Stewart3-Jan-04 18:05 
GeneralRe: inserting images into access database Pin
Bo Hunter3-Jan-04 18:44
Bo Hunter3-Jan-04 18:44 
GeneralRe: inserting images into access database Pin
Mazdak3-Jan-04 19:36
Mazdak3-Jan-04 19:36 
Generalplease help me,my project......... Pin
Ahmed Gaser3-Jan-04 11:26
Ahmed Gaser3-Jan-04 11:26 
GeneralRe: please help me,my project......... Pin
leppie3-Jan-04 11:42
leppie3-Jan-04 11:42 
GeneralRe: please help me,my project......... Pin
Colin Angus Mackay3-Jan-04 11:53
Colin Angus Mackay3-Jan-04 11:53 
QuestionChange Locale in .Net? Pin
Juan Miguel Venturello3-Jan-04 11:17
Juan Miguel Venturello3-Jan-04 11:17 
AnswerRe: Change Locale in .Net? Pin
leppie3-Jan-04 11:47
leppie3-Jan-04 11:47 
GeneralRe: Change Locale in .Net? Pin
Juan Miguel Venturello3-Jan-04 13:33
Juan Miguel Venturello3-Jan-04 13:33 
GeneralRe: Change Locale in .Net? Pin
Heath Stewart3-Jan-04 17:13
protectorHeath Stewart3-Jan-04 17:13 
GeneralRe: Change Locale in .Net? Pin
Juan Miguel Venturello4-Jan-04 0:00
Juan Miguel Venturello4-Jan-04 0:00 
GeneralRe: Change Locale in .Net? Pin
leppie4-Jan-04 1:06
leppie4-Jan-04 1:06 
GeneralRe: Change Locale in .Net? Pin
Juan Miguel Venturello4-Jan-04 2:33
Juan Miguel Venturello4-Jan-04 2:33 
GeneralRe: Change Locale in .Net? Pin
Heath Stewart4-Jan-04 5:49
protectorHeath Stewart4-Jan-04 5:49 
GeneralArrayList Madness Pin
eggie53-Jan-04 10:02
eggie53-Jan-04 10:02 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.