Forums - C# Corner

Forum guidelines
Creo Abraham

Creo Abraham

  • 1.3k
  • 1
  • 1k

ImageButton save imagebutton image/object to database

Dec 20 2012 2:12 AM
Hi, hope I can get some help here - I am trying to save an ImageButton image to my database. Basically, get the imagebutton image/value and convert it to byte[] and save the bytes to the database. I know how to save the bytes to the db, but don't know how to get the imagebutton image/object to convert to bytes. I have tried everything, but no luck.

Unlimited Flat-Free License

SPONSORED BY

File APIs for .NET
Aspose are the market leader of .NET APIs for file business formats – natively work with DOCX, XLSX, PPT, PDF, MSG, MPP, images formats and many more!