Why doesnt this work?

  • Thread starter Thread starter Mark Cooney
  • Start date Start date
M

Mark Cooney

Hi

Why doesnt this work?

<% CatID = dsMain.SelectParameters("fkCatID").ToString%>
or
<% CatID = Eval("fkCatID") %>

Anyone have a solution?

MC
 
Mark said:
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?
 
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
 
Back
Top