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. DATA GRID

DATA GRID

Scheduled Pinned Locked Moved ASP.NET
csharpcssasp-netdatabase
4 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.
  • P Offline
    P Offline
    ps srinivasan
    wrote on last edited by
    #1

    Hello frnd I displayed database(student marklist) value in data grid,if i click the cell value(like roll number) i want to display all the detail about that cell(roll number,mark,name) in text box.I am new for asp.net plz any one give come sample coding for this.I am using ASP.net 1.1

    A 1 Reply Last reply
    0
    • P ps srinivasan

      Hello frnd I displayed database(student marklist) value in data grid,if i click the cell value(like roll number) i want to display all the detail about that cell(roll number,mark,name) in text box.I am new for asp.net plz any one give come sample coding for this.I am using ASP.net 1.1

      A Offline
      A Offline
      Abhijit Jana
      wrote on last edited by
      #2

      I can give you some idea :) not code.:doh: while select one row, use GridviewRow class and and read the row of corrosponding selected index and then use can use textbox1.text=GR.column[0].text like that :) Try this concept it will work :)

      Best Regards ----------------- Abhijit Jana View My CodeProject Articles "Success is Journey it's not a destination"

      P 1 Reply Last reply
      0
      • A Abhijit Jana

        I can give you some idea :) not code.:doh: while select one row, use GridviewRow class and and read the row of corrosponding selected index and then use can use textbox1.text=GR.column[0].text like that :) Try this concept it will work :)

        Best Regards ----------------- Abhijit Jana View My CodeProject Articles "Success is Journey it's not a destination"

        P Offline
        P Offline
        ps srinivasan
        wrote on last edited by
        #3

        thank u for replay. frnd i have one doubt how to find selected row? and how to write onclick event for data grid?

        A 1 Reply Last reply
        0
        • P ps srinivasan

          thank u for replay. frnd i have one doubt how to find selected row? and how to write onclick event for data grid?

          A Offline
          A Offline
          anu_sam777
          wrote on last edited by
          #4

          hi, insert Select column (checkbox)as the first column in ur datagrid, so it will be at begining of each row, if it is checked means selectd nd u can progress further write a bool func isChecked(){} try it ll definately work

          i m faisal

          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