Delete DataSource
good evening! I would like a help of colleagues .... created several datasources as a test, but would like to use only one of them, and would like to know how to delete the rest, because I'm not getting.
Can anybody help me ?
Thank you!
Valdiney (Brazil)
Can anybody help me ?
Thank you!
Valdiney (Brazil)
Comments
rpt.Dictionary.DataSources.FindByName( "records" ).Delete(); //rpt is your report object and records is the name of the datasource.
or
rpt.Dictionary.DataSources[0].Delete(); //0 being the index of the datasource.
I hope this makes sense