G
Guest
Hi to all...
I have a class with this properties:
private int id
private byte[] file
public int ID
{
get{return id;}
set{id=value;}
}
public byte[] File
{
get{return file;}
set{file=value;}
}
When i instance the object i can obtain the Id from database but i would
like to know how to fill (from binary field in Sql server) the property File,
and how to fill from the Property to Sql Server binary field in Sql database.
Thanks
Regards.
Josema
I have a class with this properties:
private int id
private byte[] file
public int ID
{
get{return id;}
set{id=value;}
}
public byte[] File
{
get{return file;}
set{file=value;}
}
When i instance the object i can obtain the Id from database but i would
like to know how to fill (from binary field in Sql server) the property File,
and how to fill from the Property to Sql Server binary field in Sql database.
Thanks
Regards.
Josema