Hi,
I'm developing a Custom Report Item and would like to fill my properties dialog in design mode with real data. I have the name of the data source and the command text for the corresponding report dataset, read from the report design.
Is it possible to create an ado.net dataset so that I can display and use real data in my properties dialog box? First problem I have is to get the connection string from the data source string. I found no docs for that, especially the Microsoft.ReportingServices.DataExtensions.ReportDataSource class is not documented. Am I on the right way with that?
Thomas
Check out.. http://msdn.microsoft.com/msdnmag/issues/06/10/SQLServer2005/default.aspx
Sorry,
I can't see where that relates to my question. Did I miss the point?
After rereading the article, I didn't find any word on how to get actual data values in design mode.
Maybe I didn't state clear enough what I want to obtain:
I would like to get actual data values from the dataset in design mode in order to use them for a properties dialog. I have access to the sql statement from reportDataSet.CommandText already and I know the datasource name (that somehow is an alias for the db connection). What's missing is how to get the connection string from the datasource - then I can open the connection and read the data using ado.net.
Thomas
|||For connection string:
check the DataSourceDefinition class in Reporting Service web service
|||Did you ever make any progress on this? I'm trying to get to the Connection String property of the data source from my Custom Report Item code.Any direction is appreciated.
Thanks
J
No comments:
Post a Comment