| Visual Basic (Declaration) | |
|---|---|
| <DataContractAttribute(Namespace="http://Leadtools.Services.DataContracts/2009/01", Name="DbBinaryData")> Public Class DbBinaryData Inherits BinaryData | |
| Visual Basic (Usage) |  Copy Code | 
|---|---|
|  | |
| C# | |
|---|---|
| [DataContractAttribute(Namespace="http://Leadtools.Services.DataContracts/2009/01", Name="DbBinaryData")] public class DbBinaryData : BinaryData | |
| C++/CLI | |
|---|---|
| [DataContractAttribute(Namespace="http://Leadtools.Services.DataContracts/2009/01", Name="DbBinaryData")] public ref class DbBinaryData : public BinaryData | |
This example will convert a TIF file in a source folder to a CMP file and save it into a database field.
| Visual Basic |  Copy Code | 
|---|---|
| Public Sub DbBinaryDataExample() | |
| C# |  Copy Code | 
|---|---|
| public void DbBinaryDataExample()  | |
            Calls the LoadData and SaveData methods internally to load and save data to and from a database field specified by UrlBinaryData.Url.
            
            System.Object
   Leadtools.Services.DataContracts.BinaryData
      Leadtools.Services.DataContracts.DbBinaryData
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family
 
   
   
                           


~285.gif)