XtraReportModel.ShouldSaveConnection Property
Specifies how and where to store the connection string of a SqlDataSource.
Namespace: DevExpress.XtraReports.Wizards
Assembly: DevExpress.XtraReports.v24.2.dll
NuGet Package: DevExpress.Reporting.Core
Declaration
Property Value
Type | Description |
---|---|
SaveConnectionMethod | A SaveConnectionMethod enumeration value. |
Available values:
Name | Description |
---|---|
Hardcode | The connection string is hard-coded into the application. |
KeepCredentials | The connection string is hard-coded into the application along with the user credentials. |
SaveToAppConfig | The connection string is stored in the application’s configuration file. |
SaveToAppConfigWithCredentials | The connection string is stored in the application’s configuration file along with the user credentials. |
See Also