Hi, When the data are integers, you store them as integers in the database, which will hold their value, and isn't interested in any formatting. When you show such numbers, make sure to apply the format you want. One way of getting that is:
int a=123;
Console.WriteLine("a="+a.ToString("D5"));
:)
Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles]
I only read code that is properly formatted, adding PRE tags is the easiest way to obtain that.