<rsweb:ReportViewer ID="ReportViewer1" runat="server" Font-Names="Verdana" Font-Size="8pt" InteractiveDeviceInfos="(Collection)" style="text-align: center; margin-left: 58px" WaitMessageFont-Names="Verdana" WaitMessageFont-Size="14pt" Width="" Height=""> <LocalReport ReportPath="ViewUpdates\Disposevehicles.rdlc"> <DataSources> <rsweb:ReportDataSource DataSourceId="SqlDataSource2" Name="DataSet1" /> </DataSources> </LocalReport> </rsweb:ReportViewer> <asp:SqlDataSource ID="SqlDataSource2" runat="server" ConnectionString="<%$ ConnectionStrings:ApplicationServices %>" SelectCommand="SELECT VehicleRegNum, Make, Type, DateOfPurchase, DateOfReg, DateOfDisposal, Agency FROM Disposedvehiclesview WHERE (Agency = @Name)"> <SelectParameters> <asp:ControlParameter ControlID="DropDownList1" Name="Name" PropertyName="SelectedValue" /> </SelectParameters> </asp:SqlDataSource>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)