Database
From RadPHP XE2 Documentation
Database component contains information about a real database which lets your application work with that database. You will find this component in the Tool Palette, under the Data Access section.
Usage
Basic Setup
To get your Database component working, you only need to setup these properties: DriverName, DatabaseName, Host (if applicable), User, and Password.
Properties
| Name | Values | Description |
| Connected
|
boolean | Whether the connection to the database should be established as soon as the page is loaded or if it should be established manually instead. |
| DatabaseName
|
text | The content of this property will depend on the database management system you will work with, for some of them it will have the complete path to the database, for other it will only contain the name of the database in the server. Check for example its value for InterBase. |
| DriverName
|
driver | Driver to be used to connect to the database. You will get many choices from the drop-down list. What you choose will of course depend in the database management system you will work with. |
| Host
|
address | The location of the host that contains the database. This property is not needed for some database management systems, like InterBase, where setting up DatabaseName is enough. You can optionally include the port, for example: 127.0.0.1:3306. |
| UserName
|
username | Username through which your application will access the database. |
| UserPassword
|
password | Password for the user through which your application will access the database. |