c# - SSRS with Custom DataSet (System.Data.DataSet) -


how create report dataset object?

hers existing approach,

  1. create connection string.
  2. create query string.
  3. write rdl file manually using xmlwriter above details, like

    <datasources>     <datasource name="mydatasource">         <connectionproperties>             <dataprovider>sql</dataprovider>             <connectstring>my connection string</connectstring>             <integratedsecurity>true</integratedsecurity>         </connectionproperties>         <rd:securitytype>integrated</rd:securitytype>         <rd:datasourceid>my data source id</rd:datasourceid>     </datasource> </datasources> <datasets>     <dataset name="mydataset">         <query>             <datasourcename>mydatasource</datasourcename>             <commandtext>my query string</commandtext>         </query>         <fields>             <field name="myfield1">                 <datafield>myfield1</datafield>                 <rd:typename>type</rd:typename>             </field>             <field name="myfield2">                 <datafield>myfield2</datafield>                 <rd:typename>type</rd:typename>             </field>         </fields>     </dataset> 

  4. convert .rdl file byte stream.

  5. load report report server using createreport method in reportingservice.

    this working fine me, need following,

    i have dataset object (system.data.dataset) want create report/.rdl using dataset. so, there no connection string data set object, or there approach data set object.

    kindly me


Comments

Popular posts from this blog

java - activate/deactivate sonar maven plugin by profile? -

python - TypeError: can only concatenate tuple (not "float") to tuple -

java - What is the difference between String. and String.this. ? -