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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Help with this code - I'm Stuck 6
Crosstab query totals 3
Embedded 'Or' Criteria in an IIF Statement 7
PowerPoint Help needed with VB 1
Formating currency on label 4
i7 Build 26
record won't insert 2
thinking of buying a refurbished desktop 3

Back
Top