SQL SERVER – Database Mail 檢視發送紀錄指令

–查看所有傳送Mail的傳回的錯誤訊息
SELECT * FROM msdb.dbo.sysmail_event_log;
–PS.有可能某個Mail有錯誤訊息,但系統會重新發送,對於該Mail而言是成功發送的

Read the rest of this entry »

RegisterStartUpScript 和 RegisterClientScriptBlock 的差異

使用RegisterStartUpScript 時,該段Script會被註冊在</from>的結尾前,而使用RegisterClientScriptBlock ,該段script會被註冊在<form>的結尾後。

Read the rest of this entry »

ASP.NET 網頁顯示執行中的圖示 使用 AJAX

在ASPX裡加上下列語法:
<!– ScriptManager –>
<asp:ScriptManager runat=”server”>
</asp:ScriptManager>

Read the rest of this entry »

Javascript 網頁轉址 方式

ASP.NET可註冊Script:
ScriptManager.RegisterStartupScript(this, this.GetType(), “btnSave_Click”, “window.location.href=’A.aspx?x=1′;”, true);

Read the rest of this entry »

ASP.NET C# 繪製 雷達圖

網頁繪出雷達圖的語法….尚待驗證….

Protected Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click

Read the rest of this entry »

« Older Entries   Newer Entries »