thanks for that file.

But there is some problem, i have created a lineEdit box and i am not able to understand how could i connect my Line Edit box with the code given by you so that it could take values .

please help me out.