Quote Originally Posted by HowTo View Post
try to avoid this code;i want to tell that create a function and then call that function from where ever you want.........e.g;from the button click,page load,etc etc

Can you please tell me why should I avoid the code when the function Im going to create will perform the same task.