1. 有確認,取消
<asp:Button runat="server" ID="Loginin" CssClass="btn btn-inverse" Text="Login"
οnclick="submit_Click" Width="68px" OnClientClick ="javascript:return confirm('確認登錄嗎?');" /></span>
2. 動作執行完提示
Page.ClientScript.RegisterStartupScript(this.GetType(), "alert", "<script>alert('查無資料');</script>");