DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 6 of 6

Thread: Oracle Images in Grid Control

  1. #1
    Join Date
    Aug 2004
    Location
    Orange, California
    Posts
    1,263

    Question Oracle Images in Grid Control

    I am using a grid control to show my records; but I also have jpg images in one field. How do I get the Images to Display in the Grid control? All of the examples on the web are for either MS Access or SQL Server. They work for Access and SQL Server but not for Oracle. I am still new to .NET so I have no idea how to fix this.

  2. #2
    Join Date
    Nov 2003
    Location
    Portland, OR
    Posts
    8,387
    Phil Weber
    http://www.philweber.com

    Please post questions to the forums, where others may benefit.
    I do not offer free assistance by e-mail. Thank you!

  3. #3
    Join Date
    Aug 2004
    Location
    Orange, California
    Posts
    1,263
    No that is not what I am looking for. I have used that method for getting files in and out of Oracle blob fields before; but I am looking for a bound control.
    For the field that contains the picture I need each image from each record to display within the appropriate column in my grid control.

    With the streams object you have to save each image to a file before loading it into a picturebox. Then how do you get a Picturebox into each cell of the grid control for each record and get each control loaded with the correct image?

    Also I am a VB6 guy, and have not messed with C# so I would not feel comfortable trying to translate C# into VB.
    Get this, a VB6 Guy trying to work with ASP.NET, how is that for a fun time!

  4. #4
    Join Date
    Nov 2003
    Location
    Portland, OR
    Posts
    8,387
    Why don't you post (a link to) one of the examples you've found for SQL Server, and we'll help you convert it to work with Oracle?

    As an aside, there are tons of great C# examples on the Web. You owe it to yourself to at least be able to read C# code so you can adapt those examples to VB. There are also some good C#/VB translators online, such as:

    http://www.carlosag.net/tools/codetranslator/
    http://www.codechanger.com/
    Phil Weber
    http://www.philweber.com

    Please post questions to the forums, where others may benefit.
    I do not offer free assistance by e-mail. Thank you!

  5. #5
    Join Date
    May 2006
    Posts
    64
    There is an example about SQL Server.
    See if that helps

    http://www.programmingknowledge.com/ImageUpload.aspx

  6. #6
    Join Date
    Aug 2004
    Location
    Orange, California
    Posts
    1,263
    Here are a bunch of the links I have been looking at:

    Move Over DataGrid, There's a New Grid in Town!
    http://msdn.microsoft.com/msdnmag/is...4/08/GridView/

    DataList vs. DataGrid in ASP.NET
    http://msdn.microsoft.com/msdnmag/issues/01/12/asp/

    Displaying Images from SQL Server database in ASP.NET DataGrid
    http://www.dotnetbips.com/articles/5...7cee370e0.aspx

    <asp : DataGrid> control
    http://msconline.maconstate.edu/tuto...pnet08-03.aspx

    Bind Image from Database to DataGrid (web Application)
    http://www.codeproject.com/useritems...omDBtoGrid.asp

    Display Images in a DataGrid Directly from Memory with no Http Handlers
    http://www.eggheadcafe.com/articles/20050911.asp

Similar Threads

  1. setting up asp.net server
    By kylemcna in forum ASP.NET
    Replies: 5
    Last Post: 04-13-2007, 02:23 AM
  2. One of the fields in a grid control be a combo box
    By sohair zaki in forum ASP.NET
    Replies: 0
    Last Post: 03-02-2002, 02:37 PM
  3. Replies: 15
    Last Post: 05-09-2001, 04:40 AM
  4. Data Grid Control - Drag and Drop a record
    By Tom in forum VB Classic
    Replies: 0
    Last Post: 12-21-2000, 10:03 AM
  5. link ado data control to grid
    By steven in forum VB Classic
    Replies: 3
    Last Post: 06-07-2000, 09:44 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center