Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
250
Leading Zeros
posted

I'm importing from and excel file and i have a column that has the last 4 digits of a ssn. but in the grid, you are not allowed to put any number with a leading zero. for example 0321 would just show up as 321. i would like to have the 0321 shown. any help i really appreciate thanks

Parents
No Data
Reply
  • 250
    Verified Answer
    posted

     nevermind

     had to format the Columns using 

     ugImport.DisplayLayout.Bands(0).Columns(0).Format = "0000"

     then i had to use the Text in the cell to get the value, instead of using the Value property of the cell

Children
No Data