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. Invalid column name

Invalid column name

Scheduled Pinned Locked Moved ASP.NET
helpcsharpdatabase
3 Posts 3 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.
  • M Offline
    M Offline
    Milind Panchal
    wrote on last edited by
    #1

    Hi, we are retriving data from one database table to other database table. But we are getting error as invalid column. The issue is we are not using that column name in both table and even in .net code also. If we search the column name in full project code it is not finding that word also. what will be the problem can any one help me

    C S 2 Replies Last reply
    0
    • M Milind Panchal

      Hi, we are retriving data from one database table to other database table. But we are getting error as invalid column. The issue is we are not using that column name in both table and even in .net code also. If we search the column name in full project code it is not finding that word also. what will be the problem can any one help me

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      Well, if you're not naming the column anywhere in your code, where is it coming from ? Perhaps from something that's auto generated ?

      Christian Graus - Microsoft MVP - C++ "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )

      1 Reply Last reply
      0
      • M Milind Panchal

        Hi, we are retriving data from one database table to other database table. But we are getting error as invalid column. The issue is we are not using that column name in both table and even in .net code also. If we search the column name in full project code it is not finding that word also. what will be the problem can any one help me

        S Offline
        S Offline
        Sarani Ravindran
        wrote on last edited by
        #3

        The Column Name that you are retrieving(in the database) is different from your Column Name in the table. God is always with you.

        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