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. Filter DataGrid

Filter DataGrid

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

    Hi, I have a dataset which fills my datagrid. this.oracleDataAdapter1.Fill(this.DataSet1); this.DataGrid1.DataBind(); Now I want to set up couple of Filter options. Since I already have all the data I don't want to send another sql to database. How do I send Sql to data set and recreate the same datagrod with filtered data? Thanks

    K 1 Reply Last reply
    0
    • C cppdotnet

      Hi, I have a dataset which fills my datagrid. this.oracleDataAdapter1.Fill(this.DataSet1); this.DataGrid1.DataBind(); Now I want to set up couple of Filter options. Since I already have all the data I don't want to send another sql to database. How do I send Sql to data set and recreate the same datagrod with filtered data? Thanks

      K Offline
      K Offline
      Kodanda Pani
      wrote on last edited by
      #2

      Hi, Create a DataVeiw with the filtered data from a DataSet and bind the same to the DataGrid. Hope this will help you. Thanks and Regards Kodandapani.

      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