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. Strongly typed dataset - need help.

Strongly typed dataset - need help.

Scheduled Pinned Locked Moved ASP.NET
databasevisual-studiosysadminxmlhelp
1 Posts 1 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
    Slow Learner
    wrote on last edited by
    #1

    Hi, I right clicked on my project and added a dataset called 'PlntAccuracySWDst.xsd' and dragged the 'PlantInventoryAccuracy' table that I want to work with from the server Exploerer on to it. I am trying to access this dataset in my code behind PlntAccuracySWDst mySWdst = new PlntAccuracySWDst(); For some reason I can't see 'PlantInventoryAccuracyTableAdapter' and 'PlantInventoryAccuracy' datatable objects when I do the 'mySWdst. (dot)' in my codebehind file. Am I missing some thing here? I have Select, Insert, and Update stored procs defined in the database and I want to be able use those here. But as a first step I am unable to access the DataTable and Table adapters. Looks like I need to generate the Schema as a typed dataset. But when I right click on the dataset I do not see the 'Generate Dataset' option for me to select. so there is no PlntAccuracySWDst.cs file was created under my 'PlntAccuracySWDst.xsd' file in my solution explorer. I guess that is the reason why (becuase there is no Schema generated) I can't access it from my code behind file. Later on I found out that the the 'Generate Dataset' option is under the View/Tollbars/DataDesign in my VS 2005. I just selected it and this action placed a small tool bar under the Standard Tool bar. The 'Generate Dataset' is one of the icons on it. But unfortunately it is disabled. I am not sure what I am missing here. I need to be able to create the Schema by clicking the 'Generate Dataset' option. I am still looking for help. I have searched online all talk about the steps creating typed datasets but none of the articles address what to do to 'Generate Dataset'. Any help is appreciated. Thanks, L

    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