Hi again thanks for coming back. Ok page 1 sends id=? in the query string. Page 2 then looks for the data
<asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:ListingDBConnectionString %>"
SelectCommand="SELECT [ID], [CompName], [Add1], [Add2], [Add3], [Town], [City], [Postcode], [Tele], [Fax], [Website], [Email], [Package], [Description], [Logo] FROM [CompanyDetails] WHERE ([ID] = @ID)">
<SelectParameters>
<asp:QueryStringParameter Name="ID" QueryStringField="id" Type="Int32" />
</SelectParameters>
</asp:SqlDataSource>
Its then displayed in a Formview only I need to put some logic in to it so that it looks at the package value and renders the page accordingly. Hope this makes sense
|