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. Database & SysAdmin
  3. Database
  4. Datagrid not showing up

Datagrid not showing up

Scheduled Pinned Locked Moved Database
databasewpfwcfquestion
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
    cavall
    wrote on last edited by
    #1

    I have dragged a query from an access database onto a web form, configured the oledbadapter to point to the correct connection, generated a dataset out of that, and in the properties box of the datagrid I have set its datasource and other properties. If I do a preview of the dataset and fill it, it shows the data. However, when I view in browser the datagrid does not even show up. I have not used any behind code in this as far as binding the dataset to the datagrid, etc. b/c I am thinking that it was already set when I changed the property settings for that datagrid.... Am I correct in thinking this? If so, does anyone know why my datagrid will not show up? Thanks "Nothing is at last sacred, but the integrity of your own mind." "What lies behind us and what lies before us are nothing compared to what lies within us." - Ralph Waldo Emerson

    M 1 Reply Last reply
    0
    • C cavall

      I have dragged a query from an access database onto a web form, configured the oledbadapter to point to the correct connection, generated a dataset out of that, and in the properties box of the datagrid I have set its datasource and other properties. If I do a preview of the dataset and fill it, it shows the data. However, when I view in browser the datagrid does not even show up. I have not used any behind code in this as far as binding the dataset to the datagrid, etc. b/c I am thinking that it was already set when I changed the property settings for that datagrid.... Am I correct in thinking this? If so, does anyone know why my datagrid will not show up? Thanks "Nothing is at last sacred, but the integrity of your own mind." "What lies behind us and what lies before us are nothing compared to what lies within us." - Ralph Waldo Emerson

      M Offline
      M Offline
      Mazdak
      wrote on last edited by
      #2

      cavall wrote: I have not used any behind code in this as far as binding the dataset to the datagrid, etc. Have you add mydataadapter.Fill(dataset); in your code-behind? Mazy "Man is different from animals in that he speculates, a high risk activity." - Edward Hoagland

      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