Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Container.DataItem.Row.GetChildRows Problem

Container.DataItem.Row.GetChildRows Problem

Scheduled Pinned Locked Moved ASP.NET
helpdockerquestion
4 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    julesh
    wrote on last edited by
    #1

    Hi, I have the following code in an aspx file that I cannot get to work: . . . . . . The error I receive is: CS0117: 'object' does not contain a definition for 'Row' MsgComments is a relationship between two tables in my dataset that is connected to the repeater control. Not sure what I'm doing wrong, thanks in advance?? JulesH

    M R 2 Replies Last reply
    0
    • J julesh

      Hi, I have the following code in an aspx file that I cannot get to work: . . . . . . The error I receive is: CS0117: 'object' does not contain a definition for 'Row' MsgComments is a relationship between two tables in my dataset that is connected to the repeater control. Not sure what I'm doing wrong, thanks in advance?? JulesH

      M Offline
      M Offline
      Mohammad Dabaan
      wrote on last edited by
      #2

      hi man 1st u have to give a difinition in the code behind for the row, and then fill it in its place ok, i hope u understand what i mean, c u :-D Metal Man

      A 1 Reply Last reply
      0
      • M Mohammad Dabaan

        hi man 1st u have to give a difinition in the code behind for the row, and then fill it in its place ok, i hope u understand what i mean, c u :-D Metal Man

        A Offline
        A Offline
        Anonymous
        wrote on last edited by
        #3

        Thanks for the reply, but still not sure exactly what I need to add in the code behind page?

        1 Reply Last reply
        0
        • J julesh

          Hi, I have the following code in an aspx file that I cannot get to work: . . . . . . The error I receive is: CS0117: 'object' does not contain a definition for 'Row' MsgComments is a relationship between two tables in my dataset that is connected to the repeater control. Not sure what I'm doing wrong, thanks in advance?? JulesH

          R Offline
          R Offline
          Ramin Tarhande
          wrote on last edited by
          #4

          You must cast it first, because it thinks that it's an 'object'. in C# it would be somethig like this: ((System.Data.DataRowView)Container.DataItem).Row.GetChildRow["MsgComments"] good luck:-D il nome mio nessun sapra

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups