in reply to how can i take value in TextBox and pass to a URL?
I think you should take a look at Ovids CGI Course, and then perhaps take a look at CGI Programming from the tutorials section.
Martin