I'm creating a WebSite in VWD 2010 Express. The Login page I created turns out to show the Email and Password that I once entered as part of testing to stay in the textbox. How do I delete it?

Thanks

Recommended Answers

All 5 Replies

If you are reloading the same page the values entered into the form are saved in the page postback. You just need to clear them out in the page load section

textbox1.Text = "";

I did that, but no luck.

Thanks

OK, are you saying that when you refresh the page or it reloads after a postback that the user name and password still appear in the textboxes? Or is something else going on? Some example code would help.

textbox1.Text = "";
textbox2.Text = "";
soon after your insertion querry

you must use coding to remove cache if this is problem of cahche it will remove automatcially

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.