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. Searching the numeric value in a gridview

Searching the numeric value in a gridview

Scheduled Pinned Locked Moved ASP.NET
algorithmshelp
4 Posts 3 Posters 1 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.
  • A Offline
    A Offline
    amina89
    wrote on last edited by
    #1

    Hi; I can not search for numeric values ​​in a gridview. searching works just for string. can you help me please.Thanks

    R 1 Reply Last reply
    0
    • A amina89

      Hi; I can not search for numeric values ​​in a gridview. searching works just for string. can you help me please.Thanks

      R Offline
      R Offline
      Ravi Sant
      wrote on last edited by
      #2

      The is similar question asked on CP here[^]. Hope it helps :)

      ♫ 99 little bugs in the code, 99 bugs in the code We fix a bug, compile it again 101 little bugs in the code ♫

      A 1 Reply Last reply
      0
      • R Ravi Sant

        The is similar question asked on CP here[^]. Hope it helps :)

        ♫ 99 little bugs in the code, 99 bugs in the code We fix a bug, compile it again 101 little bugs in the code ♫

        A Offline
        A Offline
        amina89
        wrote on last edited by
        #3

        Hi; have a gridview with a list of students (id, name ...) I want to find the student with id = 1111 for example, how do that? thanks

        P 1 Reply Last reply
        0
        • A amina89

          Hi; have a gridview with a list of students (id, name ...) I want to find the student with id = 1111 for example, how do that? thanks

          P Offline
          P Offline
          Parwej Ahamad
          wrote on last edited by
          #4

          Look into your data source object and pass required parameter. If you want to search on multiple fields then your search query should be dynamic. 1. Load all Data 2. Create dynamic query (In SP or Inline Query as per you coding) 2. Then you will get the result and then again bind Grid with updated data source object

          Parwej Ahamad ahamad.parwej@gmail.com

          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