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. Web Development
  3. ASP.NET
  4. Datagrid...

Datagrid...

Scheduled Pinned Locked Moved ASP.NET
databasequestion
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.
  • N Offline
    N Offline
    NinaWilliam
    wrote on last edited by
    #1

    Hi, I have a page to view appointments records in my application.. aslo, i give the users the ability to search for spescific records so my questiuon is: do i create 2 datagrid one to view records returned by the defualt query and the other one to view records of the search query? and control their visibility depending on the events.. or there is other way to do this? please if you anyone have experience with view and search process.. please tell me are you using the same datagrid for view and search or two, one for view and the other for search? Nina

    N G 2 Replies Last reply
    0
    • N NinaWilliam

      Hi, I have a page to view appointments records in my application.. aslo, i give the users the ability to search for spescific records so my questiuon is: do i create 2 datagrid one to view records returned by the defualt query and the other one to view records of the search query? and control their visibility depending on the events.. or there is other way to do this? please if you anyone have experience with view and search process.. please tell me are you using the same datagrid for view and search or two, one for view and the other for search? Nina

      N Offline
      N Offline
      Nagraj Naik
      wrote on last edited by
      #2

      Hi, Definately It can be happen, For doing this just use two separate grids and set datarelation on two grids(search "datarelation" for more information. I hope it will help you :rose:

      1 Reply Last reply
      0
      • N NinaWilliam

        Hi, I have a page to view appointments records in my application.. aslo, i give the users the ability to search for spescific records so my questiuon is: do i create 2 datagrid one to view records returned by the defualt query and the other one to view records of the search query? and control their visibility depending on the events.. or there is other way to do this? please if you anyone have experience with view and search process.. please tell me are you using the same datagrid for view and search or two, one for view and the other for search? Nina

        G Offline
        G Offline
        goyal manish
        wrote on last edited by
        #3

        if results displayed in both cases have same fields means results only differ in numbers not in properties then you can do it on a single grid. So if grid have same columns in both cases then you can use a single grid else you have to use two grids.

        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