Why doesnt this work?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Mark Cooney

    #1

    Why doesnt this work?

    Hi

    Why doesnt this work?

    <% CatID = dsMain.SelectPa rameters("fkCat ID").ToString %>
    or
    <% CatID = Eval("fkCatID") %>

    Anyone have a solution?

    MC


  • =?ISO-8859-1?Q?G=F6ran_Andersson?=

    #2
    Re: Why doesnt this work?

    Mark Cooney wrote:
    Hi
    >
    Why doesnt this work?
    >
    <% CatID = dsMain.SelectPa rameters("fkCat ID").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
    _____
    Göran Anderssons privata hemsida.

    Comment

    • Mark Cooney

      #3
      Re: Why doesnt this work?

      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
      commandparamete r 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" <guffa@guffa.co mwrote in message
      news:uQeQxxQkHH A.4152@TK2MSFTN GP04.phx.gbl...
      Mark Cooney wrote:
      >Hi
      >>
      >Why doesnt this work?
      >>
      ><% CatID = dsMain.SelectPa rameters("fkCat ID").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

      Comment

      Working...