Method AddDataSet
- Namespace
- ReportWright.Design
- Assembly
- ReportWright.Design.dll
AddDataSet(string, string, string)
Adds a dataset reading a data source, as one entry.
public RdlElement AddDataSet(string name, string dataSourceName, string commandText)
Parameters
namestringThe name; made unique among scopes (datasets, groups, data regions).
dataSourceNamestringThe data source it reads.
commandTextstringThe query: a URL, SQL text, a file name, as the source's provider reads it.
Returns
- RdlElement
The element.