if i type in text box = A ,then i should get ascii value of A=65
Could you explain your issue a bit more? Don’t understand what the problem is.
You will need to have two lists, one for the characters and one for the numbers.
Then you will find the character on the first list so that you can get the number that corresponds to the same index from the second list. Please see the screenshot.