Results 1 to 2 of 2

Thread: Insert photo in detail ADO

  1. #1
    Member
    Join Date
    Mar 08
    Posts
    46

    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

  2. #2
    Unmoderated abhijit's Avatar
    Join Date
    Jun 99
    Location
    Chit Chat Forum.
    Posts
    3,117

    Re: Insert photo in detail ADO

    Quote Originally Posted by kyriakos70 View Post
    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 File

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •