When you say ASP buttons, do you mean form inputs such as submit or button?
If so, you can use the disabled property (disabled=true).
To enable and disable dynamically I don't think you can do it in ASP, but you can do it client-side in javascript or vbscript, using something like, for example...
If something then
frmForm.ButtonName.Disabled = true
end if