Results 1 to 3 of 3

Thread: Serious Problem.......pls help

  1. #1

    Thread Starter
    Member
    Join Date
    Feb 2001
    Posts
    42

    Serious Problem.......pls help

    hi Beacon..
    I’ve a serious and simple problem. I want to save and retrive the picture from my sql table. I’m using VB with SQL Server.
    I’ve created 2 tables, i.e. ptable,mtable
    Ptable fields:
    Id varchar2(5)
    Photo Image

    Mtable fields:
    Id varchar2(5)
    Name varchar2(30)

    I’ve created a form on which 2 bound text boxes based on Mtable and 1 picture box to show picture of employee which is stored on other table(Ptable). My problem is:
    1. if I bound picture box to the photo field then It shows error”Unable to bind to field or data member”Photo”.
    2. How can I save a picture in photo field of Ptable.
    3. How can I retrive an Employees picture in Photo field.

    I’m attaching similar code based on Northwind database……pls try to solve my problem .. if possible write the code also…
    Lots of thanks in advance….My id is: [email protected]
    Adhikari….
    Attached Files Attached Files

  2. #2
    Lively Member
    Join Date
    Jun 2002
    Location
    Kuwait
    Posts
    85
    Please go thru this code.
    Attached Files Attached Files
    Your attitude determines your altitude!!!

  3. #3
    PowerPoster Beacon's Avatar
    Join Date
    Jan 2001
    Location
    Pub Floor
    Posts
    3,188

    Re: Serious Problem.......pls help

    Originally posted by adhikarirs
    hi Beacon..
    I’ve a serious and simple problem. I want to save and retrive the picture from my sql table. I’m using VB with SQL Server.
    I’ve created 2 tables, i.e. ptable,mtable
    Ptable fields:
    Id varchar2(5)
    Photo Image

    Mtable fields:
    Id varchar2(5)
    Name varchar2(30)

    I’ve created a form on which 2 bound text boxes based on Mtable and 1 picture box to show picture of employee which is stored on other table(Ptable). My problem is:
    1. if I bound picture box to the photo field then It shows error”Unable to bind to field or data member”Photo”.
    2. How can I save a picture in photo field of Ptable.
    3. How can I retrive an Employees picture in Photo field.

    I’m attaching similar code based on Northwind database……pls try to solve my problem .. if possible write the code also…
    Lots of thanks in advance….My id is: [email protected]
    Adhikari….
    Top thread database forum!
    Image_Library tutorial!

    It explains it all!

Posting Permissions

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



Click Here to Expand Forum to Full Width