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

搜尋意見
文章分類-Reiko
[所有文章分類]
  • ASP.NET (7)
  • ASP.NET2.0 (1)
  • ASP.NET4.0 (6)
  • JavaScript (5)
  • jQuery (3)
  • FireFox (1)
  • UW系統設定 (1)
  • SQL (11)
  • SQL 2008 (12)
  • mirror (4)
  • SVN (0)
  • IE (2)
  • IIS (5)
  • IIS6 (1)
  • 閒聊 (0)
  • W3C (0)
  • 作業系統 (1)
  • C# (3)
  • CSS (0)
  • FileServer (0)
  • HTML 5 (0)
  • CKEditor (1)
  • UW.dll (0)
  • Visual Studio (3)
  • Browser (1)
  • SEO (0)
  • Google Apps (1)
  • 網站輔助系統 (0)
  • DNS (5)
  • SMTP (0)
  • 網管 (0)
  • 社群API (0)
  • SSL (3)
  • App_Inventor (0)
  • URLRewrite (1)
  • 開發工具 (1)
  • JSON (1)
  • Excel2007 (0)
  • 試題 (0)
  • LINQ (1)
  • bootstrap (0)
  • Vue (0)
  • IIS7 (0)
  • foodpanda (0)
  • 編碼 (0)
  • 資安 (0)
  • Sourcetree (0)
  • MAUI (0)
  • CMD (0)
  • my sql (0)
所有文章分類
[Reiko的分類]
  • 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)
最新回應
  • dotnet ef dbcontext scaffold
    ...more
  • 線上客服 - MSN
    本人信箱被盜用以致資料外洩,是否可以請貴平台予以協助刪除該信箱之使用謝謝囉...more
  • 插入文字到游標或選取處
    aaaaa...more
  • dotnet ef dbcontext scaffold
    更新到最新版的 dotnet-ef tooldotnet tool update --global ...more
  • dotnet ef dbcontext scaffold
    還需要這個:Microsoft.EntityFrameworkCore.Design...more
  • dotnet ef dbcontext scaffold
    指定版本:dotnet add package Microsoft.EntityFrameworkC...more
  • SQL 2008 Mirror Setting
    有設定見證伺服器但在Principal掛掉卻不會自動轉到Mirror資料庫在DBC加上: Failo...more
  • SQL 2008 Mirror Setting
    最近更換機房後201重啟很久,造成有設定Mirror的資料庫一直處於復原中狀態,網站無法正常運作(可...more
  • Send Mail By gmail SMTP
    出現錯誤訊息:System.Net.Mail.SmtpException: SMTP 伺服器需要安全...more
  • [SQL]將多筆資料合併為一筆顯示(FOR XML PATH)
    實測發現長度只能到 2034 個字元所以太長的話會被截斷...more
標籤
  • kill
  • .
  • image
  • ip country
  • 指令
  • iis
  • column
  • SVN
  • sns
  • Chrome
  • 82
  • 低安全性
  • data
  • 8 UNION AL
  • 706
  • 1542
  • db.
  • 874
  • -2912
  • 檔案
  • -9829 UNIO
  • HTTP 錯誤 40
  • VPN
  • COLUMNS_UP
  • ad
  • -6044
  • webforms
  • 36
  • inline
  • -5783
  • 網站
  • 8951
  • c
  • ??21211211
  • mine
  • 992
  • 44
  • 9900222
  • win
  • ContainsAN
  • jQuery
  • IE
  • SKYPE
  • replace
  • 3564
  • 66 ORDER B
  • line
  • 26
  • Cache Depe
  • -2846
頁數 6 / 8 上一頁 下一頁
C# memo
*****2012/08/03************************************************
vb: a mod b
c#: a % b

*****2012/06/27************************************************
Server.UrlEncode("xxxx") => HttpUtility.UrlEncode("xxxxx");
Response.Write("XXX") =>  HttpContext.Current.Response.Write("XXX");
******************************************************************

型別轉換(int)XXXXXX,將XXXXX轉換為型別int

轉換Value 至 Enum
oRec.Status = (DB.ForumArticle.EN.Status)Enum.Parse(typeof(DB.ForumArticle.EN.Status), this.ddlENStatus.SelectedValue);

強制轉換型別至int
int Status = (int)DB.ForumArticle.EN.Status.Deleted;

vb
Public Shared Funciont AA() as string
 return xxxxx
End Function


C#
public static string aa()
{
 return xxxx
}



vb
Public Shared Sub AA()
......
End Sub


C#
public static void AA()
{
.....
}



vb
Try
 xxxxxx
Catch ex As Exception
 UW.WU.WriteErrorToLog(ex)
End Try


C#
try
{
 xxxxxx
}
catch (Exception ex)
{
 tran.Rollback();
}



Split
char[] delimiterChars = { ',' };
foreach (string tags in cbTags.Split(delimiterChars))
{

}



vb
select case AA
 case "AA"
  xxx
 case "BB"
  bbb
 case else
  aaaa
end select


C#
switch (AA) {
 case "AA":
  xxx();
  break;
 case "BB":
  bbb();
  break;
 default:
  aaaa();
  break;
}
More...
Reiko, 2012/5/31 上午 11:55:50
線上客服 - MSN
※請輸入對方的MSN帳號
<input id="Text1" type="text" />
<input id="Button1" onclick="location.href='msnim:chat?contact=' + $('#Text1').val()" type="button" value="談話" />




※直接新增聯絡人(前提是有安裝MSN)
<a href="msnim:add?contact=MSN帳號">加入我的MSN</a>

加入我的MSN


※在網頁、BLOG嵌入「MSN聊天視窗」

如何在網頁、BLOG嵌入「MSN聊天視窗」?(不來恩)
More...
Reiko, 2012/5/17 下午 02:53:39
線上客服 - skype
※自動加入Skype帳號
<a href="skype://Skype帳號?add">
<img src="/Upload/Article/20120517/20120517025520_0.jpg" alt="加入我的Skype" border="0">
</a>

加入我的Skype

※開起Skype直接對話
<a href="skype:Skype帳號?call">
<img src="/Upload/Article/20120517/20120517025520_0.jpg" alt="用Skype打給我吧" border="0" />
</a>

用Skype打給我吧

※Skype在線上狀態
<img src="http://mystatus.skype.com/balloon/Skype帳號" alt="Skype在線狀態" border="0" />

Skype在線狀態

※傳送到手機簡訊sms
<a href="Skype:Skype帳號?sms">
<img src="/Upload/Article/20120517/20120517025520_0.jpg" border="0" />
</a>

More...
Reiko, 2012/5/17 上午 11:50:20
Resize images using jQuery
<script type="text/javascript" src="/scripts/jquery.ae.image.resize.min.js"></script>
<script type="text/javascript">
   $(document).ready(function () {
      $("div._content img").aeImageResize({ width: 250 });
   });
</script>



 
<script type="text/javascript">
  $(document).ready(function () {
    $(".resizeme").aeImageResize({ width: 450 });
  });
</script>




資料來源:http://adeelejaz.com/blog/resize-images-on-fly-using-jquery/
More...
Reiko, 2012/5/14 下午 02:02:37
跨瀏覽器網頁設計密技-From www
(1) 各瀏覽器 CSS Hacks 技巧
.page {
color: black; /* 所有瀏覽器 */
color /**/: green; /* IE7, IE8, IE9 */
*color: blue; /* IE6, IE7 */
_color: red; /* IE6 */
}



(2) IE 條件式註解
<!doctype html>
<!--[if lt IE 7 ]> <html lang="en" class="no-js ie6"> <![endif]-->
<!--[if IE 7 ]> <html lang="en" class="no-js ie7"> <![endif]-->
<!--[if IE 8 ]> <html lang="en" class="no-js ie8"> <![endif]-->
<!--[if IE 9 ]> <html lang="en" class="no-js ie9"> <![endif]-->
<!--[if (gt IE 9)|!(IE)]><!--> <html lang="en" class="no-js"> <!--<![endif]-->
<head>

※ 注意事項 ※
微軟已經決定 Internet Explorer 10 之後的版本將移除條件式註解功能,因此下一代 IE 瀏覽器在解析條件式註解時將會與現有其他瀏覽器一樣,針對條件式註解或條件式標籤裡的條件式都會自動忽略,因此未來該功能只能用於 IE9 以下的瀏覽器裡。

資料來源:http://blog.miniasp.com/post/2012/05/02/Building-Website-is-not-that-easy-CSS-Hacks-and-IE-Conditional-Comments.aspx

More...
Reiko, 2012/5/7 下午 12:03:35
input的CSS樣式,分別對應type=text,submit,chekbox...的寫法

<style type="text/css">

INPUT {border: 1px solid #D4D0C8;width: 200px;}

input[type=text] {background-color: #FFCC33;}

input[type=checkbox],input[type=radio] {width: 20px;border: 0px;}

</style>

More...
Reiko, 2012/5/4 下午 07:22:09
C#
#Region => 區塊作用說明

EX.

#region Configure for Content Provider  =>區塊說明,在程式裡不會work

//Settings for Cotent Provider (for Alpha Enviroment)
string szCID = xmlDoc.DocumentElement["CID"].InnerText;
string szKey = "z1okwCmRSkgk/vkWzxIuwQNuUvf9d8gj";
string szIV = "dg454KArm6g=";
string szPassword = "1234";

#endregion

More...
Reiko, 2012/4/30 下午 12:25:30
Current.Request.UrlReferrer Is Nothing
在IE中,使用window.open開啟出來的頁面,捉不到Referrer
改用<a href=''..." target=_blank></a>即可。

PS.Chrome沒有這個問題
More...
Reiko, 2012/4/26 下午 03:03:53
Seagate硬碟壞了別急著丟!保固查詢,聯強維修&原價屋換貨?
http://portable.easylife.tw/3060?utm_source=feedburner&utm_medium=feed&utm_campaign=Feed%3A+portableasylife+%28%E7%B6%A0%E8%89%B2%E5%B7%A5%E5%BB%A0+Easylife+Blog%29
More...
Reiko, 2012/4/25 下午 12:58:46
ASP.NET 4.0 安裝在 IIS6 最常遇到的四個問題
1:設定網站站台的 ASP.NET 頁籤時找不到 ASP.NET 4.0 的選項

2:安裝好 .NET 4 後還是找不到設定網站站台的 ASP.NET 頁籤 的 ASP.NET 4.0 的選項

3:安裝好 .NET 4 也設定好網站站台的 ASP.NET 4.0 的選項 依然無法執行網站

4:ASP.NET 4.0 的網站站台已經設定好也可以正常執行了, 但執行一段時間會自己掛掉!


http://www.microsoft.com/taiwan/technet/iis/learn/aspnet4_install_iis6_qa.aspx
More...
Reiko, 2012/4/24 下午 06:25:07
|< 12345678 >|
頁數 6 / 8 上一頁 下一頁
~ Uwinfo ~