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

Strongly Typed Dataset

Scheduled Pinned Locked Moved ASP.NET
helpdatabasearchitecturetutorial
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.
  • A Offline
    A Offline
    anandhakrishnan
    wrote on last edited by
    #1

    Hi, I am using Strongly Typed Dataset(.Xsd) to keep the values fetched from the database. And i am using three tyre architecture in my project. I am using this Typed dataset not only to fetch the records from database and also to store the new values into the database. I am getting a problem while i am trying to assign NULL for an integer field. if (txtExperience.Text.Trim() == "") row.Experience =(Int32)SqlInt32.Null; //row.SetExperienceNull; //DbNull.Value; else row.Experience = Convert.ToInt32(txtExperience.Text); I am getting the error below Data is Null. This method or property cannot be called on Null values in strong typed dataset I dont know how to pass the null value. Pls help me! Tnx in Advance.

    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