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. How to retrieve a value from hidden fields in a dataGrid?

How to retrieve a value from hidden fields in a dataGrid?

Scheduled Pinned Locked Moved C#
helpquestiondatabasetutorial
2 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.
  • Z Offline
    Z Offline
    zoltix
    wrote on last edited by
    #1

    If I hide a column with datagrid.Columns(1).visible = False, and the user enters a new record, how can I set a value to the hidden field so that it gets put in the database? Because when I try to access in this fields, I have a error message like if this field does not exist !!!!! Could you help me -=zoltx=-

    Z 1 Reply Last reply
    0
    • Z zoltix

      If I hide a column with datagrid.Columns(1).visible = False, and the user enters a new record, how can I set a value to the hidden field so that it gets put in the database? Because when I try to access in this fields, I have a error message like if this field does not exist !!!!! Could you help me -=zoltx=-

      Z Offline
      Z Offline
      zoltix
      wrote on last edited by
      #2

      In Aspx Dot net......Sorry I forgot -=zoltx=-

      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