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. General Programming
  3. C#
  4. Erratic datagrid behaviour?

Erratic datagrid behaviour?

Scheduled Pinned Locked Moved C#
helpcssdatabaseoraclequestion
1 Posts 1 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
    scotlandc
    wrote on last edited by
    #1

    Hi, I have a 12 column datagrid populated by an Oracle 8.1.7 table. The 'grid is clickable so that more data can be viewed according to which ever row is clicked. On any given row, if columns 0 through 9 are clicked, there is no problem. The same is true if column 11 on a row is clicked. The problem arises only if column 10 is clicked. The error message "Column does not belong to Table" is displayed. All column names (Header Texts) are handled in a stored procedure, the custom datagrid style only handles column widths, anyone have any idea why column 10 would behave in such a way? I need that column in the table as it stores image paths. If it is moved to a different position ie swap columns 5 and 10 around then the application crashes if "what was column 5, now column 10" is clicked. The same happens if I set the column width to 0. The column that occupies the same screen space causes a crash yet all other columns behave as expected. Any ideas on why this is happening or possible solutions would be greatly appreciated. I will post code samples if necessary Thanks lots in advance Scotty

    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