Estoy con Mithrandir ,no te recomiendo para nada el insertar imagenes en la BD,pero si es lo que quieres aqui te posteo un trozo de código de como lo hago yo en VB.NET
Insertar
Cita: Dim fs As New FileStream(OpenFileDialog1.FileName, FileMode.OpenOrCreate, FileAccess.Read)
Dim MyData(fs.Length) As Byte
fs.Read(MyData, 0, fs.Length)
fs.Close()
'Ya luego lo agregas a tu fila como si fuera algo normal,por ejemplo con MiFila("Foto")= MyData
Y para mostrar las imagenes
Cita: Public Function Mostrarfoto(ByVal id As Integer) As Image
Try
Dim cn As New SqlConnection("Server=www.dresoft.com;Database=usu arios;uid=dresoft;pwd=DIEGORAMONEDU")
cn.Open()
'Retrieve BLOB from database into DataSet.
Dim cmd As New SqlCommand("SELECT foto FROM Edu_Outlook WHERE ID=" & id, cn)
Dim da As New SqlDataAdapter(cmd)
Dim ds As New DataSet
da.Fill(ds, "Edu_Outlook")
Dim c As Integer = ds.Tables("Edu_Outlook").Rows.Count
If c > 0 Then
'BLOB is read into Byte array, then used to construct MemoryStream,
'then passed to PictureBox.
Dim byteBLOBData(-1) As [Byte]
byteBLOBData = CType(ds.Tables("Edu_Outlook").Rows((c - 1))("FOTO"), [Byte]())
Dim stmBLOBData As New MemoryStream(byteBLOBData)
Mostrarfoto = Image.FromStream(stmBLOBData)
End If
cn.Close()
Catch ex As Exception
MessageBox.Show(ex.Message)
End Try
End Function
Espero que te sirva,salu2