I am creating an ASPX page.
2 SqlDataSources dsMain and dsMinor
2 Repeaters, Repeater1 and Repeater2
One Table, HTML not control.
Repeater1 is calling dsMain and making Main Headings
I need Repeater2 to call dsMinor which I am doing successfully and then to
take fkCatID from dsMain which is a column in my db, put it into the
commandparameter CatID for dsMinor so that Repeater2 can then input in HTML
table contents of the Filtered dsMinor.
Hope that makes sense?
MC
"Göran Andersson" <gu***@guffa.comwrote in message
news:uQ**************@TK2MSFTNGP04.phx.gbl...
Mark Cooney wrote:
>Hi
Why doesnt this work?
<% CatID = dsMain.SelectParameters("fkCatID").ToString%>
or
<% CatID = Eval("fkCatID") %>
Anyone have a solution?
MC
In what way doesn't it work? What is "fkCatID"? What do you intent the
code to do?
--
Göran Andersson
_____
http://www.guffa.com