VistaDB 5






VistaDB.DDA Namespace > IVistaDBTable Interface > PutFromFile Method : PutFromFile(Int32,String) Method
Zero-based column's index in the row
Name of external file containing text or binary data
PutFromFile(Int32,String) Method
Put Text, NText, Image data from external file to a column.
Syntax
'Declaration
 
Overloads Sub PutFromFile( _
   ByVal index As System.Integer, _
   ByVal fileName As System.String _
) 
'Usage
 
Dim instance As IVistaDBTable
Dim index As System.Integer
Dim fileName As System.String
 
instance.PutFromFile(index, fileName)
void PutFromFile( 
   System.int index,
   System.string fileName
)
procedure PutFromFile( 
    index: System.Integer;
    fileName: System.String
); 
function PutFromFile( 
   index : System.int,
   fileName : System.String
);
void PutFromFile( 
   System.int index,
   System.string* fileName
) 
void PutFromFile( 
   System.int index,
   System.String^ fileName
) 

Parameters

index
Zero-based column's index in the row
fileName
Name of external file containing text or binary data
Remarks
The method reads text data from the external text file using Encoding assigned to respective character column
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also