|
-
Aug 4th, 2010, 04:47 AM
#1
Thread Starter
Member
Insert photo in detail ADO
Hello,
I have a database with two tables master and detail, what I want is how to insert in the detail a blob file.
Code:
Try
Me.BindingContext(DataSet71, "Scan").EndCurrentEdit()
Me.BindingContext(DataSet71, "Scan").AddNew()
Catch eEndEdit As System.Exception
System.Windows.Forms.MessageBox.Show(eEndEdit.Message)
End Try
-
Aug 9th, 2010, 09:55 AM
#2
Re: Insert photo in detail ADO
 Originally Posted by kyriakos70
Hello,
I have a database with two tables master and detail, what I want is how to insert in the detail a blob file.
Code:
Try
Me.BindingContext(DataSet71, "Scan").EndCurrentEdit()
Me.BindingContext(DataSet71, "Scan").AddNew()
Catch eEndEdit As System.Exception
System.Windows.Forms.MessageBox.Show(eEndEdit.Message)
End Try
Hello,
Which database are you using? There's a saveBlob link in my signature that shows you how to save a blob.
I am not entirely sure if this binding approach will work.
Everything that has a computer in will fail. Everything in your life, from a watch to a car to, you know, a radio, to an iPhone, it will fail if it has a computer in it. They should kill the people who made those things.- 'Woz'
save a blobFileStreamDataTable To Text Filemy blog
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|