Hello,
I am using the profile in Asp.Net 2.0 to save complex types, i.e., a
class.
I am using an SQL 2005 database as my profile provider.
Can I use a file or image in a class and save it in my profile?
Should I do this?
Public Class Document
Private _image As Image
Public Property Image() As Image
Get
Return _image
End Get
Set(ByVal value As String)
If _image = value Then
Return
End If
_image = value
End Set
End Property
End Class
To be honest I have no idea if this would place the image file into the
SQL 2005 database as part of the profile of a specific user.
Instead, should I place the image/file in a folder and save its url in
the SQL database?
Could someone, please, help me out with this?
Thank You,
Miguel