Click here to Skip to main content
11,485,564 members (76,898 online)
Rate this: bad
good
Please Sign up or sign in to vote.
See more: ASP.NET
Hi,
i have created a table which contains "mobile_no" column and i have taken datatype numeric(18,0) for that.

My question is:::
when i get that mobile_no value in crystal report it comes like "8,837,373,737.00"
I can required continue numbers without decimal point and without comma....

Pls give me some suggestions...
Posted 15-Feb-13 23:55pm

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

Use varchar as a datatype instead of numeric. This will solve your problem. Try it.
  Permalink  
Comments
Imtiyaz_mi at 16-Feb-13 5:16am
   
Good Answer
Gunjan Bhasin at 16-Feb-13 5:18am
   
Thank you :)
VijayGujar at 16-Feb-13 6:24am
   
Thank you Gunjan Bhasin..to give your valuable time for me....
Gunjan Bhasin at 16-Feb-13 7:08am
   
Always Welcome :)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 375
1 Maciej Los 365
2 C#developer.asp 204
3 Mehdi Gholam 190
4 OriginalGriff 149
0 Sergey Alexandrovich Kryukov 8,819
1 OriginalGriff 7,982
2 Sascha Lefèvre 3,199
3 Maciej Los 2,841
4 Richard Deeming 2,370


Advertise | Privacy | Mobile
Web02 | 2.8.150520.1 | Last Updated 16 Feb 2013
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100