how to use onclick event in <button> c# asp code example Example: c# code for button click event public event EventHandler Click;