Reads the schema and data to the table of class from the data source.
[Visual Basic]
Public Function Fill( _
ByVal sql As String _
) As Boolean
[C#]
public bool Fill(
string sql
);
Parameters
-
sql
- SQL.
Return Value
Returns true if successful; otherwise false.
Example
How to read data to the table of class.
dbExData.Fill("SELECT * FROM xxxtbl")
dbExData.Fill("SELECT * FROM xxxtbl");
See Also
AwDbExData Class | Asterworld.Data Namespace