ImageGear .NET v25.2 - Updated
Developer Guide / How to Work with... / Common Operations / Viewing / Viewing Using ASP.NET / [Legacy] ASP.NET Web.Config Editor Application / Use the Web Configuration Categories Screen / Configuring and Working with Data Providers / Image Data Providers / SQL Image Data Providers
In This Topic
    SQL Image Data Providers
    In This Topic

    To retrieve from and store data to a SQL database, you must define a SQL image data provider.

    The ImageGear built-in SQLImageDataProvider is an ADO.NET based ImageProvider, which by default uses Microsoft SQL Server Data provider. However, this provider can be configured to use any database.

    The built-in SQLImageDataProvider requires that image data be stored in the database in one of these forms:

    The built-in SQLImageDataProvider requires that annotation data be stored in the database as follows:

    A custom Sql Image data provider can be written to replace the built-in SqlImageDataProvider. Most databases are transaction-aware but if you choose to use a non-transactional database, then you must be mindful of transactions in your custom provider when writing annotation data. See Loading from a Database for more information.

    This section provides information about the following: