</asp:SqlDataSource>

mdean99

New member
Joined
Sep 26, 2011
Messages
1
Programming Experience
Beginner
<asp:SqlDataSource ID="SqlDataSource3" runat="server"
ConnectionString="<%$ ConnectionStrings: xx %>"
SelectCommand="select [id], [category], [grouping], [block] from
where [category]=@cat1 and [grouping]=@group1 and [block]=@block1 ">
<SelectParameters>
<asp:SessionParameter
Name="cat1"
SessionField="category"
DefaultValue="<%# eval(category )%>" />
<asp:SessionParameter
Name="group1"
SessionField="grouping"
DefaultValue="<%# eval(grouping) %>" />
<asp:SessionParameter
Name="block1"
SessionField="block"
DefaultValue="<%# eval(block) %>" />
</SelectParameters>
</asp:SqlDataSource>


hi
this doesn't quite work!! how do i pick up the url parameters?
michael
 
Back
Top