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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. Web Development
  3. ASP.NET
  4. databinding error [modified]

databinding error [modified]

Scheduled Pinned Locked Moved ASP.NET
helpwpfwcf
5 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.
  • S Offline
    S Offline
    Sonia Gupta
    wrote on last edited by
    #1

    i was binding the data with the datagrid.i am binding the data through three tables.all the tables hava a common column field .i am using the hyperlink control to pass the id to another page.id belongs to the column name (which is common to all the tables that i mentioned a while ago).now the problem is i am getting the following error. DataBinding: 'System.Data.DataRowView' does not contain a property with the name 'vcode'. i am using the following code problem is occuring in vcode Soniagupta1@yahoo.co.in -- modified at 2:51 Thursday 20th September, 2007

    I A 2 Replies Last reply
    0
    • S Sonia Gupta

      i was binding the data with the datagrid.i am binding the data through three tables.all the tables hava a common column field .i am using the hyperlink control to pass the id to another page.id belongs to the column name (which is common to all the tables that i mentioned a while ago).now the problem is i am getting the following error. DataBinding: 'System.Data.DataRowView' does not contain a property with the name 'vcode'. i am using the following code problem is occuring in vcode Soniagupta1@yahoo.co.in -- modified at 2:51 Thursday 20th September, 2007

      I Offline
      I Offline
      Imran Khan Pathan
      wrote on last edited by
      #2

      Here vcode is considered as datafield name. try this NavigateUrl='<%#"DetailInformation.aspx?vcode="+DataBinder.Eval(Container.DataItem,"vcode")%>' Best Regard Pathan

      ---------------------------------------------------

      1 Reply Last reply
      0
      • S Sonia Gupta

        i was binding the data with the datagrid.i am binding the data through three tables.all the tables hava a common column field .i am using the hyperlink control to pass the id to another page.id belongs to the column name (which is common to all the tables that i mentioned a while ago).now the problem is i am getting the following error. DataBinding: 'System.Data.DataRowView' does not contain a property with the name 'vcode'. i am using the following code problem is occuring in vcode Soniagupta1@yahoo.co.in -- modified at 2:51 Thursday 20th September, 2007

        A Offline
        A Offline
        Abolfazl Sheikhloo
        wrote on last edited by
        #3

        a filed with the name 'vcode' does not exists in the grid datasource u must select vcode too.

        We Can Do Anything, If We Want It

        S 1 Reply Last reply
        0
        • A Abolfazl Sheikhloo

          a filed with the name 'vcode' does not exists in the grid datasource u must select vcode too.

          We Can Do Anything, If We Want It

          S Offline
          S Offline
          Sonia Gupta
          wrote on last edited by
          #4

          please elaborate it again.i am not being able to understand u.

          Soniagupta1@yahoo.co.in

          S 1 Reply Last reply
          0
          • S Sonia Gupta

            please elaborate it again.i am not being able to understand u.

            Soniagupta1@yahoo.co.in

            S Offline
            S Offline
            saravanan05
            wrote on last edited by
            #5

            hi try this: NavigateUrl='DetailInformation.aspx?vcode=<%# DataBinder.Eval(Container.DataItem,"vcode")%>'> regards saravanan -- modified at 8:10 Thursday 20th September, 2007

            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