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. how to populate datagrid from dataset manually

how to populate datagrid from dataset manually

Scheduled Pinned Locked Moved ASP.NET
tutorialcssregexhelpquestion
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.
  • S Offline
    S Offline
    shah zad
    wrote on last edited by
    #1

    hi! can any body guide me that how can i populate datagrid row by row that is i dont want ot use datagrid.datasource = dataset, datagrid.databind() .... instead i want it in the following senario(manually) populate a dataset then go through some loop check each row on each iteration and specify some criteria if it match then add that row to grid other wise skip it and move to the next row plz explain it with the help of code regards shezi

    P 1 Reply Last reply
    0
    • S shah zad

      hi! can any body guide me that how can i populate datagrid row by row that is i dont want ot use datagrid.datasource = dataset, datagrid.databind() .... instead i want it in the following senario(manually) populate a dataset then go through some loop check each row on each iteration and specify some criteria if it match then add that row to grid other wise skip it and move to the next row plz explain it with the help of code regards shezi

      P Offline
      P Offline
      Paddy Boyd
      wrote on last edited by
      #2

      What criteria are you checking against? Would you be able to create a dataview from your dataset table and then perform a filter? This would be a much simpler solution.

      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