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. displaying row data into textboxes

displaying row data into textboxes

Scheduled Pinned Locked Moved C#
csshelp
2 Posts 2 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.
  • I Offline
    I Offline
    iramg
    wrote on last edited by
    #1

    hello i want bind only one row with the textboox is it possible like i am doing that when user selects a data from the data grid all its columns values displayed on the realted textboxes plz help me and tell me the how i can so this. " i have find the reference of the current row clicked by the user and store it into a datarow object but what should i do further to diplay its values on the textboxes" reply as soon as possible

    R 1 Reply Last reply
    0
    • I iramg

      hello i want bind only one row with the textboox is it possible like i am doing that when user selects a data from the data grid all its columns values displayed on the realted textboxes plz help me and tell me the how i can so this. " i have find the reference of the current row clicked by the user and store it into a datarow object but what should i do further to diplay its values on the textboxes" reply as soon as possible

      R Offline
      R Offline
      rah_sin
      wrote on last edited by
      #2

      u can try textbox1.text = datarow["column1 name"].tostring(); textbox2.text = datarow["column2 name"].tostring(); textbox3.text = datarow["column3 name"].tostring(); . . . . . rahul

      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