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. Change datatype of column in dataset in designtime

Change datatype of column in dataset in designtime

Scheduled Pinned Locked Moved ASP.NET
databasetutorialquestion
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
    AlexeiXX3
    wrote on last edited by
    #1

    Hi, thanks for looking Im trying to change the datatype of a column from a datatable in a dataset from smallmoney to money At first when i made the dataset the column in the DB was smallmoney then i changed the column in the DB to money, but in my dataset i have made some relations, set some default values, added custom queries.... I wouldnt like to redrop the table, besides it would be good to know how to do it :) Ive already tryed changing directly the dataset.designer.vb file, finding all occurrences of smallmoney and replacing them with money, but if i make any change to the dataset designer, all code is rewritten and the columns are smallmoney again The datatype of the money and smallmoney columns look the same in the dataset designer (decimal) Where is the datatype of columns saved?? The column in DB is already money type Thanks in advance

    Alexei Rodriguez

    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