Results 1 to 2 of 2

Thread: Handling Decimal type columns in SQL Server

  1. #1

    Thread Starter
    Software Carpenter dee-u's Avatar
    Join Date
    Feb 2005
    Location
    Pinas
    Posts
    11,127

    Arrow Handling Decimal type columns in SQL Server

    This should be more of a GUI issue so I am posting here instead.

    Decimal type columns have Precision and Scale where the length of the integral part of the decimal would be Precision - Scale, if the Precision is 4 and the Scale is 2 then the integral part can only contain 2 digits (4-2).
    As such I will probably need a control that I could set how much it should accept on its integral part. In that regard I am not sure which control is best for such cases, I could try to make a usercontrol that will handle that but is there any other control out there that I could utilize for this purpose, intrinsic to .Net or a custom control out there?

    I could also just validate the data keyed-in but the above solution seem to be more user-friendly.

    Curiously, when databinding such Decimal type columns, how is it handled when the specified integral part exceeds the allowable size (Precision minus Scale)?
    Regards,


    As a gesture of gratitude please consider rating helpful posts. c",)

    Some stuffs: Mouse Hotkey | Compress file using SQL Server! | WPF - Rounded Combobox | WPF - Notify Icon and Balloon | NetVerser - a WPF chatting system

  2. #2

    Thread Starter
    Software Carpenter dee-u's Avatar
    Join Date
    Feb 2005
    Location
    Pinas
    Posts
    11,127

    Re: Handling Decimal type columns in SQL Server

    None so far?
    Regards,


    As a gesture of gratitude please consider rating helpful posts. c",)

    Some stuffs: Mouse Hotkey | Compress file using SQL Server! | WPF - Rounded Combobox | WPF - Notify Icon and Balloon | NetVerser - a WPF chatting system

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width