Binds data.
[Visual Basic]
Public Function BindData( _
ByVal srcFileName As String, _
ByVal srcTableName As String, _
ByVal sql As String _
) As Boolean
[C#]
public bool BindData(
string srcFileName,
string srcTableName,
string sql
);
Parameters
-
srcFileName
- Filename of data source.
-
srcTableName
- Update target table name.
-
sql
- SQL.
Return Value
Returns true if successful; otherwise false.
Example
How to bind data.
Dim sql As String = "SELECT * FROM xxxtbl"
dbNavigate.BindData("C:\Data.mdb", "xxxtbl", sql)
string sql = "SELECT * FROM xxxtbl";
dbNavigate.BindData("C:\\Data.mdb", "xxxtbl", sql);
See Also
AwDbNavigate Class | Asterworld.Data Namespace