giving me null values for both name and no.not allow to enter through keyboard with this code.