Last post Aug 26, 2011 10:57 AM by dwfreeman
Aug 23, 2011 07:45 PM|dwfreeman|LINK
Hi, my report seems to work OK except that it only shows the first record. If I preview the Table Adapter it shows all the records. Can someone tell me what's wrong?
<rsweb:ReportViewer ID="ReportViewer1" runat="server" Width="863px"
Font-Names="Verdana" Font-Size="8pt" InteractiveDeviceInfos="(Collection)"
<rsweb:ReportDataSource DataSourceId="ObjectDataSource1" Name="DataSet1" />
<asp:ObjectDataSource ID="ObjectDataSource1" runat="server"
Aug 24, 2011 01:41 AM|kelllad|LINK
Make sure you are using the Table control and your textboxes are in the detail row. It sounds like you may be using the list control which only displays one record from a table.
Aug 24, 2011 12:22 PM|dwfreeman|LINK
OK Thanks, that is helpful. I had just dropped some textboxes into the detail area without a table or other container. Now can you answer this one? My report needs to display a session variable in the header as the title. Can you tell me how to pass it into
the report and display it?
Aug 26, 2011 02:29 AM|Nishantg|LINK
You just need to create a Parameter in your Report, and set the value of the parameter with your session variable.
Aug 26, 2011 10:57 AM|dwfreeman|LINK
Yes, I thought something like that. But I cannot figure out how to create and set the parameter. Can you advise?