VistaDB 5






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

Parameters

columnName
Column name the data put in
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