ankit gaur

ankit gaur

  • 1.4k
  • 298
  • 32.4k

convert the numeric value in string

Aug 18 2020 7:56 AM
i have a value in label that comes from the database .like A-1001 or C-0603..............
lblvalue.Text ='A-1001' or 'C-0603' 
 
Now i convert these value into two different labelS.
 
lblConvertValue1.Text ="Tenth"  -------------Comes from the first two numbers 10
lblConvertValue2.Text ="1001"   --------------No need of A-
 
lblConvertValue1.Text ="Sixth" -------------Comes from the first two numbers 06
lblConvertValue2.Text ="0603" --------------No need of C-
 
 
Please help. 

Answers (2)