SqlDataSource Constructors
The data source for Windows Forms data-aware controls that binds these controls to a database (in read-only mode) while allowing you to configure the data connection options.Name | Parameters | Description |
---|---|---|
SqlDataSource() | none | For internal use. |
SqlDataSource(DataConnectionParametersBase) | connectionParameters | Initializes a new instance of the SqlDataSource class with the specified connection parameters. |
SqlDataSource(IContainer) | container | For internal use. |
SqlDataSource(String) | connectionName | Initializes a new instance of the SqlDataSource class with the specified connection name. |
SqlDataSource(String, DataConnectionParametersBase) | connectionName, connectionParameters | For internal use. |
See Also