UWInfo Blog
發表新文章
[Join] | [忘記密碼] | [Login]
搜尋

搜尋意見
文章分類-#Author#
[所有文章分類]
所有文章分類
  • ASP.NET (48)
  • ASP.NET2.0 (15)
  • ASP.NET4.0 (34)
  • JavaScript (49)
  • jQuery (26)
  • FireFox (4)
  • UW系統設定 (3)
  • SQL (39)
  • SQL 2008 (25)
  • mirror (4)
  • SVN (4)
  • IE (9)
  • IIS (20)
  • IIS6 (1)
  • 閒聊 (7)
  • W3C (6)
  • 作業系統 (9)
  • C# (24)
  • CSS (12)
  • FileServer (1)
  • HTML 5 (11)
  • CKEditor (3)
  • UW.dll (13)
  • Visual Studio (16)
  • Browser (8)
  • SEO (1)
  • Google Apps (3)
  • 網站輔助系統 (4)
  • DNS (5)
  • SMTP (4)
  • 網管 (11)
  • 社群API (3)
  • SSL (4)
  • App_Inventor (1)
  • URLRewrite (2)
  • 開發工具 (6)
  • JSON (1)
  • Excel2007 (1)
  • 試題 (3)
  • LINQ (1)
  • bootstrap (0)
  • Vue (3)
  • IIS7 (3)
  • foodpanda (2)
  • 編碼 (2)
  • 資安 (3)
  • Sourcetree (1)
  • MAUI (1)
  • CMD (1)
  • my sql (1)
最新回應
  • Newtonsoft.Json.JsonConvert.DeserializeObject 失敗的情況
    test...more
  • dotnet ef dbcontext scaffold
    ...more
  • [ASP.NET] 利用 aspnet_regiis 加密 web.config
    ...more
  • IIS ARR (reverse proxy) 服務安裝
    ...more
  • [錯誤訊息] 請加入 ScriptResourceMapping 命名的 jquery (區分大小寫)
    ...more
  • 用 Javascript 跨網頁讀取 cookie (Cookie cross page, path of cookie)
    ...more
  • 線上客服 - MSN
    本人信箱被盜用以致資料外洩,是否可以請貴平台予以協助刪除該信箱之使用謝謝囉...more
  • 插入文字到游標或選取處
    aaaaa...more
  • IIS 配合 AD (Active Directory) 認証, 使用 .Net 6.0
    太感謝你了~~~你救了我被windows 認證卡了好幾天QQ...more
  • PostgreSQL 的 monitor trigger
    FOR EACH ROW 可能要改為 FOR EACH STATEMENT ...more
標籤
  • 103.234.81
  • tim2121121
  • 欄位
  • List
  • 814
  • image resi
  • mail
  • 550
  • c
  • find212112
  • 28
  • 具有潛在危險 Req
  • group by
  • UNT[t]
  • 不允許儲存
  • dotnet ef
  • ispathroot
  • UW
  • FB1
  • -2484 UNIO
  • 考試
  • ti
  • config
  • 392
  • Request.Fo
  • ReportView
  • [t]
  • JSON
  • line pay介接
  • json order
  • 988
  • JsonConver
  • 0x42121121
  • 擴充套件
  • 134 ORDER
  • 694
  • -5389
  • 788
  • 2246
  • npoi
  • barcode
  • sing
  • SSMS
  • 642
  • 9347
  • User
  • -2846
  • 耗時
  • iTextSharp
  • max
頁數 45 / 55 上一頁 下一頁
IE Cookie 奇怪的問題
A Domain 底下有一個 B Domain 的 iFrame,B Domain 在client 有對自己的domain 設些cookie,
但 IE cookie 寫不進去,

原因如下面網址: http://www.cr173.com/html/16696_1.html
加入這行 IE 就好囉!   Response.AddHeader("P3P", "CP=CAO PSA OUR")
More...
瞇瞇, 2013/1/30 下午 07:58:45
jquery 事件綁定的做法
//用ajax 加進來的新元素都會自動綁定事件,不需要unbind在bind。
$("body").delegate("selector","click",function(){})
More...
瞇瞇, 2013/1/28 下午 06:36:17
MailMessage, SmtpClient 要 Dispose

今天發現當 System.Net.Mail.MailMessage  有附件時,SendMail 後附檔會被Lock住
原來使用完之後要釋放資源,不然要等一段時間才會被系統釋放

另外 .Net 4.0 的 SmtpClient 物件也要 Dispose()
他的做法也類似 SqlCoonection 有 pooling 的機制
因此用完也必須要 Dispose()

UW.Mail 我有調整過了 要SVN更新一下 再build

More...
darren, 2013/1/27 上午 03:11:35
css hack 整理

<style type="text/css">
#test
    {
        width:300px;
        height:300px;
        
        background-color:blue;     /*全部, firefox*/
        background-color:red\9;     /*all ie*/
        background-color:yellow\0;    /*ie8*/
        +background-color:pink;        /*ie7*/
        _background-color:orange;     /*ie6*/
    }
    :root #test { background-color:purple\9; } /*ie9*/
    @media all and (min-width:0px){ #test {background-color:black\0;} } /*opera*/
    @media screen and (-webkit-min-device-pixel-ratio:0){ #test {background-color:gray;} } /*chrome and safari*/
</style>



由上到下的順序,目前看起來愈通用的應該放上面。
然後下面寫下特殊瀏覽器+版本的項目。
More...
Jerry, 2013/1/17 下午 03:46:26
View 的 Left Join
使用 Left Join 似乎可以減少 DB  的 Loading, 有空再來試一下。
More...
Bike, 2013/1/8 上午 06:29:05
查詢 Lock (Deadlock) 源頭用的 SQL
declare @spid int,@bl int
DECLARE s_cur CURSOR FOR
select 0 ,blocked
from (select * from sysprocesses where blocked>0 ) a
where not exists(select * from (select * from sysprocesses where blocked>0 ) b
where a.blocked=spid)
union select spid,blocked from sysprocesses where blocked>0
OPEN s_cur
FETCH NEXT FROM s_cur INTO @spid,@bl
WHILE @@FETCH_STATUS = 0
begin
if @spid =0
select N'引起數據庫死鎖的是:
'+ CAST(@bl AS VARCHAR(10)) + N'進程號,其執行的SQL語法如下'
else
select N'進程號SPID:'+ CAST(@spid AS VARCHAR(10))+ N'被進程號SPID:'+ CAST(@bl AS VARCHAR(10)) +N'阻塞,其當前進程執行的SQL語法如下'
DBCC INPUTBUFFER (@bl )
FETCH NEXT FROM s_cur INTO @spid,@bl
end
CLOSE s_cur
DEALLOCATE s_cur


刪除 procedure
Kill XXX
More...
Bike, 2012/12/26 下午 05:03:52
body 物件 for IE9
在 IE9 之中,
 $('body').animate({
            scrollTop: top
        }, 700}
 不work,要改用 
 $('body, html').animate({
            scrollTop: top
        }, 700}


其它的版本沒有測試過,但 Google 顯示這個是 IE7, IE9 的問題.
More...
Bike, 2012/12/10 上午 01:52:07
是否為 undefined 的比較 for Javascript
比對 a1 是不是 undefined 時,可以使用以下的程式碼:

if(typeof a1=='undefined'){
:
:
}
More...
Bike, 2012/11/25 下午 02:56:43
VB 的日期常數
Optional TF As Date = #12/30/2000#
More...
Bike, 2012/11/21 下午 07:18:17
Prevent form submit when enter is pressed on text input with jquery
$('input[type="text"]').bind('keypress', function (e) {
    if (e.which == 13) return false;
});
More...
Bike, 2012/11/15 下午 04:40:23
|< …36373839404142434445… >|
頁數 45 / 55 上一頁 下一頁
~ Uwinfo ~