Do action if button clicked for 3 times
<p>I want to do some action if button clicked for 3 times. Just like if users enters a wrong password for 3 times the page the page must be redirected to another page or something.</p>

<p>How to do action in ASP.NET C# if button clicked for 3rd time?</p>
