> Data formatting is in the UI domain, not database domain. There are
> several ways of formatting, depending on the UI controls you are using.

Signature
Jonathan Wood
SoftCircuits Programming
http://www.softcircuits.com
> Miha,
>
[quoted text clipped - 4 lines]
> Creating a table. That's the only place I'm aware of where data types are
> specified.
But how are you creating a table? Using server explorer? Then there are
types bit (boolean) and numeric(n,m).
Or are you reffering to DataTable?
>> Data formatting is in the UI domain, not database domain. There are
>> several ways of formatting, depending on the UI controls you are using.
>
> The table designer provides a default value property, yet it seems to be
> ignored. I don't see that as being in the UI domain.
Value formating is alyways in UI domain. Why should data tier deal with
formatting?
Anyway, try with numeric(n,m) datataype.

Signature
Miha Markic [MVP C#, INETA Country Leader for Slovenia]
RightHand .NET consulting & development www.rthand.com
Blog: http://cs.rthand.com/blogs/blog_with_righthand/
Jonathan Wood - 27 Aug 2007 16:22 GMT
Miha,
>> Creating a table. That's the only place I'm aware of where data types are
>> specified.
>
> But how are you creating a table? Using server explorer? Then there are
> types bit (boolean) and numeric(n,m).
> Or are you reffering to DataTable?
As I indicated, in Visual Studio 2005. Whatever you want to call that table
designer.
>>> Data formatting is in the UI domain, not database domain. There are
>>> several ways of formatting, depending on the UI controls you are using.
[quoted text clipped - 4 lines]
> Value formating is alyways in UI domain. Why should data tier deal with
> formatting?
Again, I do not consider a default value to be related to formatting or the
UI domain.
> Anyway, try with numeric(n,m) datataype.
I'll look into it.

Signature
Jonathan Wood
SoftCircuits Programming
http://www.softcircuits.com