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. Visual Basic
  4. Datagrid related

Datagrid related

Scheduled Pinned Locked Moved Visual Basic
help
6 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.
  • N Offline
    N Offline
    Nikhil Bandekar
    wrote on last edited by
    #1

    Hi friends, One problem i am stuck in please try to help. I want to create a code where, when user clicks one row of the datagrid filled with data, the particular column value for e.g. the value of second column of the selected row should be visible on the text field present on the same form after a click of a button. The sequence will be 1. First user click and selects one row 2. Then clicks a particular button 3. As click event is fired the value present in the second column of the selected row displays in the textbox present on the same form. Try helping out please.

    Nikhil Bandekar Mumbai, India

    T 1 Reply Last reply
    0
    • N Nikhil Bandekar

      Hi friends, One problem i am stuck in please try to help. I want to create a code where, when user clicks one row of the datagrid filled with data, the particular column value for e.g. the value of second column of the selected row should be visible on the text field present on the same form after a click of a button. The sequence will be 1. First user click and selects one row 2. Then clicks a particular button 3. As click event is fired the value present in the second column of the selected row displays in the textbox present on the same form. Try helping out please.

      Nikhil Bandekar Mumbai, India

      T Offline
      T Offline
      Tamimi Code
      wrote on last edited by
      #2

      hi is this windows or web application ??

      Tamimi - Code

      N 1 Reply Last reply
      0
      • T Tamimi Code

        hi is this windows or web application ??

        Tamimi - Code

        N Offline
        N Offline
        Nikhil Bandekar
        wrote on last edited by
        #3

        it is windows vb.net i refered to the code u had given for hasan, regarding datagrid. I hope you would try to help me even. It seems you have good knowledge woking with datagrid

        Nikhil Bandekar Mumbai, India

        T 1 Reply Last reply
        0
        • N Nikhil Bandekar

          it is windows vb.net i refered to the code u had given for hasan, regarding datagrid. I hope you would try to help me even. It seems you have good knowledge woking with datagrid

          Nikhil Bandekar Mumbai, India

          T Offline
          T Offline
          Tamimi Code
          wrote on last edited by
          #4

          hi put this line TextBox1.Text = DataGrid1(DataGrid1.CurrentCell.RowNumber, 1) on CurrentCellChanged event for thr datagrid or on any button click

          Tamimi - Code

          N 1 Reply Last reply
          0
          • T Tamimi Code

            hi put this line TextBox1.Text = DataGrid1(DataGrid1.CurrentCell.RowNumber, 1) on CurrentCellChanged event for thr datagrid or on any button click

            Tamimi - Code

            N Offline
            N Offline
            Nikhil Bandekar
            wrote on last edited by
            #5

            hiii Thanks a lots it worked out... I was struggling from when. Thanks again for the favor. :-D Bye Take Care

            Nikhil Bandekar Mumbai, India

            T 1 Reply Last reply
            0
            • N Nikhil Bandekar

              hiii Thanks a lots it worked out... I was struggling from when. Thanks again for the favor. :-D Bye Take Care

              Nikhil Bandekar Mumbai, India

              T Offline
              T Offline
              Tamimi Code
              wrote on last edited by
              #6

              you are welcome

              Tamimi - Code

              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