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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C#
  4. how to select specific row in DataGrid

how to select specific row in DataGrid

Scheduled Pinned Locked Moved C#
questionhelptutorial
3 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.
  • M Offline
    M Offline
    Metik
    wrote on last edited by
    #1

    Hi I was wondering how can I select specific row in dataGrid. I want that if textbox (value) matches with sepcific cell in datagrid than i want to select this row. Can you help me ?

    P V 2 Replies Last reply
    0
    • M Metik

      Hi I was wondering how can I select specific row in dataGrid. I want that if textbox (value) matches with sepcific cell in datagrid than i want to select this row. Can you help me ?

      P Offline
      P Offline
      panyl
      wrote on last edited by
      #2

      if("dd"==DataGrid.items(i).cells(j).text) so what you want may be: DataGrid.items(i).cells(j).RowNumber(this is the row index in the control)

      1 Reply Last reply
      0
      • M Metik

        Hi I was wondering how can I select specific row in dataGrid. I want that if textbox (value) matches with sepcific cell in datagrid than i want to select this row. Can you help me ?

        V Offline
        V Offline
        Vimalsoft Pty Ltd
        wrote on last edited by
        #3

        See the Following Article http://www.codeproject.com/KB/cs/N-Tier22.aspx[^] Hope it helps

        Vuyiswa Maseko, Sorrow is Better than Laughter, it may Sadden your Face, but It sharpens your Understanding VB.NET/SQL7/2000/2005 http://vuyiswamb.007ihost.com http://Ecadre.007ihost.com vuyiswam@tshwane.gov.za

        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