Visual Basic (Declaration) | |
---|---|
Public Property Data As Object |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public object Data {get; set;} |
This example sets the data property to a dataTable and defines data fields mapping.
C# | Copy Code |
---|---|
DataEngine de = new DataEngine(); |
Visual Basic | Copy Code |
---|---|
Dim de As New DataEngine() |
When not connecting to a database directly using ConnectionString and SqlStatement, this property offers an alternative method for obtaining database data.