I have used Oracle 10G and VS 2010 for this example.
This code filters out all the jpeg files in a particular folder and loads them to the database. You could also take away the filter and load all your files in the database.

This is a console based application. You will need ODP.NET to get this to work.
At this time of writing this, I could not find any ODP.NET provider for VS2010, so I used the one for the previous framework.

sql Code:
  1. CREATE TABLE PHOTOS (PHOTOID number(3), phototitle varchar2(50), photoblob blob);

vb.net Code:
  1. Imports System
  2. Imports System.Data
  3. Imports Oracle.DataAccess.Client
  4. Imports Oracle.DataAccess.Types
  5. Imports System.IO
  6. Imports System.Text
  7.  
  8. Module modSendImagesToDB
  9.  
  10.     Sub Main()
  11.         Dim strConn As String = "Data Source=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=latetothegame)(PORT=1521)))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=late)));User Id=space;Password=space;"
  12.         Dim myOConn As OracleConnection
  13.         Dim storefile As Directory
  14.         Dim files As String()
  15.         Dim File As String
  16.         Dim iCounter As Int32
  17.         Dim SourceLoc As String
  18.         Try
  19.  
  20.             myOConn = New OracleConnection(strConn)
  21.             myOConn.Open()
  22.             If myOConn.State = ConnectionState.Open Then
  23.                 Console.WriteLine("Connected to database!")
  24.                 files = storefile.GetFiles("D:\user\", "*.jpg", SearchOption.TopDirectoryOnly)
  25.  
  26.                 For Each File In files
  27.                     iCounter = iCounter + 1
  28.                     SourceLoc = File
  29.                     Console.WriteLine(File)
  30.  
  31.                     ' provide read access to the file
  32.                     Dim Fs As FileStream = New FileStream(SourceLoc,
  33.                                            FileMode.Open, FileAccess.Read)
  34.  
  35.                     ' Create a byte array of file stream length
  36.                     Dim ImageData As Byte()
  37.                     ReDim ImageData(Fs.Length)
  38.  
  39.                     'Read block of bytes from stream into the byte array
  40.                     Fs.Read(ImageData, 0, System.Convert.ToInt32(Fs.Length))
  41.  
  42.                     'Close the File Stream
  43.                     Fs.Close()
  44.                     ' Step 3
  45.                     ' Create Anonymous PL/SQL block string
  46.                     Dim block As String =
  47.                        " BEGIN " & _
  48.                        " INSERT INTO Photos (photoid, photoblob, phototitle) VALUES (:1, :2, :3) ;" & _
  49.                        " end ;"
  50.  
  51.                     ' Set command to create Anonymous PL/SQL Block
  52.                     Dim cmd As OracleCommand = New OracleCommand()
  53.                     cmd.CommandText = block
  54.                     cmd.Connection = myOConn
  55.                     ' Since executing an anonymous PL/SQL block, setting the command type
  56.                     ' as Text instead of StoredProcedure
  57.                     cmd.CommandType = CommandType.Text
  58.  
  59.                     ' Step 4
  60.                     ' Setting Oracle parameters
  61.  
  62.                     ' Bind the parameter as OracleDbType.Blob
  63.                     ' to command for inserting image
  64.                     Dim param1 As OracleParameter = cmd.Parameters.Add("id", OracleDbType.Int32)
  65.                     param1.Size = 3
  66.                     param1.Direction = ParameterDirection.Input
  67.                     param1.Value = iCounter
  68.  
  69.                     Dim param2 As OracleParameter = cmd.Parameters.Add("blobtodb", OracleDbType.Blob)
  70.                     param2.Direction = ParameterDirection.Input
  71.                     ' Assign Byte Array to Oracle Parameter
  72.                     param2.Value = ImageData
  73.  
  74.                     Dim param3 As OracleParameter = cmd.Parameters.Add("filename", OracleDbType.Varchar2)
  75.                     param3.Size = 50
  76.                     param3.Direction = ParameterDirection.Input
  77.                     ' Assign Byte Array to Oracle Parameter
  78.                     param3.Value = File
  79.  
  80.  
  81.                     ' Step 5
  82.                     ' Execute the Anonymous PL/SQL Block
  83.                     ' The anonymous PL/SQL block inserts the image to the database and then retrieves
  84.                     ' the images as an output parameter
  85.                     cmd.ExecuteNonQuery()
  86.                     cmd.Dispose()
  87.                     Console.WriteLine("Image file inserted to database from " + SourceLoc)
  88.                 Next
  89.             End If
  90.         Catch ex As Exception
  91.             Console.WriteLine(ex.ToString)
  92.         End Try
  93.     End Sub
  94. End Module