O'Reilly logo

Graphics Programming with GDI+ by Mahesh Chand

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

15.4. Reading and Writing Images to and from a Stream or Database

Sometimes we need to read and write images to and from a stream or database. In this example we will build an application to show how to do this for both streams and databases. We will use Microsoft Access for the database and ADO.NET to read and write data to the database.

Database Programming and ADO.NET

If you are new to database programming and ADO.NET, you may want to look at the ADO.NET section of C# Corner (www.c-sharpcorner.com). Plenty of source code samples and tutorials are available for free. You also might want to check out my book for ADO.NET beginners: A Programmer’s Guide to ADO.NET in C# (published by APress).

First we need to create a database. We start by ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required