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. filtering columns in datagrid

filtering columns in datagrid

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

    hi every body in my code, i bind a data to dataset then make this dataset the datasource to my datagrid. i want to prevent some columns from appearing in the datagrid but please don`t tell me to filter it in the select query i want to prevent these columns from appearing after the dataset is bound what can i do?

    haitham

    N 1 Reply Last reply
    0
    • H haytham_mohammad

      hi every body in my code, i bind a data to dataset then make this dataset the datasource to my datagrid. i want to prevent some columns from appearing in the datagrid but please don`t tell me to filter it in the select query i want to prevent these columns from appearing after the dataset is bound what can i do?

      haitham

      N Offline
      N Offline
      Not Active
      wrote on last edited by
      #2

      Hide the column in the DataGrid. Set the columns in the designer and set visible to false for the columns you don't want displayed.


      only two letters away from being an asset

      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