I want to Disable Button in asp.net

Posted by Nuwan under ASP.NET on 5/27/2012 | Points: 10 | Views : 814 | Status : [Member] | Replies : 1
Dear All,

I create a CashBook in asp, Now it finish. Now I want to add a Confirm button in that page.
Some user Click that Confirm Button his username,date & time and status going to new sql table.
I do that thing. Bt I want to in that day if some user click this button at once want to disable that button in that button clicking user.
How I do that. Please help me.

Thank You!!!!



Posted by: Dn2010 on: 5/28/2012 [Member] Starter | Points: 25



protected void Button1_Click(object sender, EventArgs e)

Button1.Enabled = false;


Nuwan, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response