I'm just looking for an equivalent or a method in c#
I have this class defined in delphi
TGraphicField
I wonder if there's something I could use in c# who would do the same or I have to create my own class.
I'm just looking for an equivalent or a method in c#
I have this class defined in delphi
TGraphicField
I wonder if there's something I could use in c# who would do the same or I have to create my own class.
The purpose of TGraphicField is to store images within a database.
There isn't a single way to handle this in C#. Basically, in C#, you'd just use a BLOB column in the database, and serialize to and from an image yourself. This is most commonly handled via the MemoryStream class, which provides routines for treating a byte[] as a Stream, as well as saving into the MemoryStream then using ToArray() to convert back into a byte[].