2011-11-01ãã1ã¶æéã®è¨äºä¸è¦§
â ãµã³ãã« EventLogger.cs using System.Diagnostics; namespace SampleForm { public static class EventLogger { private const string SourceName = "HelloWorld"; // ã¤ãã³ãID â 以ä¸ã使ç¨ä¸ã®æ³¨æããåç §â private const int DefaultEventId = 1100â¦
â æ¹é JavaScriptã§å¶å¾¡ããã * å¶å¾¡å¯¾è±¡ã®ã³ã³ããã¼ã«ãæ¼ä¸ãããæã« ãdocument.readyState='complete'ãã«ãªã£ã¦ããªãå ´åã¯ã éä¿¡ä¸ã¨å¤æããéä¿¡å¦çãè¡ããªãããã«ãSubmitã§falseãè¿ãã ï¼ãã¿ã³ãdisableæå®ã§ããããæ´»æ§åã«æ»ãã¿ã¤â¦
â ã¤ãã³ãã¹ã±ã¸ã¥ã¼ã© * æ¥ä»ãæéã«å¾ã£ã¦èªåçã«å®è¡ãããã¿ã¹ã¯ â ã¤ãã³ãã®æå¹/ç¡å¹ã®ç¢ºèªããã³è¨å® select @@global.event_scheduler; # ONã«ãã set global event_scheduler=ON; â ã¤ãã³ãã®ä½æ æ§æ delimiter // CREATE EVENT ãã¤ãã³ãâ¦
ã¹ãã¢ãã»ããã·ã¼ã¸ã£ ç®ç * ä¸é£ã®è¤æ°ã®å¦çãå®è¡ãããã®çµæãSELECTæã®å®è¡çµæã¨åæ§ã«ã¯ã©ã¤ã¢ã³ãã«è¿ã æ§æ CREATE PROCEDURE ãããã·ã¼ã¸ã£åã [@ããã©ã¡ã¼ã¿åã ããã¼ã¿åã [=ãããã©ã«ãå¤ã] [,...]] AS ãä»»æã®SQLæã ãµã³ãã«â¦
ãã¹ã¿ã¼ãã¼ã¸ ä½ææ¹æ³ * ã½ãªã¥ã¼ã·ã§ã³ã¨ã¯ã¹ããã¼ã©ã®ããã¸ã§ã¯ããå³ã¯ãªãã¯ãã[追å ]-[æ°ããé ç®]-[ãã¹ã¿ãã¼ã¸](æ¡å¼µåï¼.Masterï¼ã追å ã§ãã 使ç¨æ¹æ³ [1] ã½ãªã¥ã¼ã·ã§ã³ã¨ã¯ã¹ããã¼ã©ã®ããã¸ã§ã¯ããå³ã¯ãªãã¯ãã[追å ]-[æ°ããé ç®]â¦
æ°åã®æ±ã * NET Framework 2.0以éã§ã¯Decimalåã使ãããã.NET Framework 1.xã§ã¯å¸¸ã«Doubleåã使ãå¿ è¦ãããã * Doubleåã¯ä¸¸ããèµ·ãã£ã¦ãã¾ãã®ã§ã注æã åæ¨äºå ¥ é¢æ°å // value:対象å¤ãpoint:å°æ°ç¹æ¡æ° private Decimal GetRoundOffValueâ¦
â ç®ç * VS2010ç°å¢ã«ããã¦ãXMLã³ã¡ã³ããjava docã®ããã«ãããã¥ã¡ã³ãåãã â»ãªããXMLã³ã¡ã³ãã«ã¤ãã¦ã¯ã以ä¸ã®ãµã¤ããåç §ã®ãã¨ã https://blogs.yahoo.co.jp/dk521123/22290838.html â Sandcastle (ãµã³ãã»ãã£ãã¹ã«)ã¨ã¯ï¼ * XMLã³ã¡ã³ãâ¦
â ç°å¢ä½æ * é常ãPHP+MySQL+Apacheãããç°å¢ä¸ã§ãMantisãå°å ¥ãããã¨ã«ãªããã é¢åãããã®ã§ãããããããã±ã¼ã¸ãã¦ãããBitNamiããå°å ¥ããã [1] BitNami with Mantisã®ãã¦ã³ãã¼ã (1-1) BitNamiã®ä»¥ä¸ã®ãµã¤ãã«ã¢ã¯ã»ã¹ãã http://bitnâ¦
UpdateProgressã³ã³ããã¼ã«ã ããããéçããããããªã®ã§JQueryãå©ç¨ããæ¹æ³ãå¦ã¶ã http://blogs.yahoo.co.jp/dk521123/26721609.html ã§ã以ä¸ã®ç¶ãã http://blogs.yahoo.co.jp/dk521123/27118296.html â Post Backå¦çä¸ã«Webãã¼ã¸ãããã¯ãã â¦
UpdateProgressã³ã³ããã¼ã«ã ããããéçããããããªã®ã§JQueryãå©ç¨ããæ¹æ³ãå¦ã¶ã http://blogs.yahoo.co.jp/dk521123/26721609.html â åæåã®Post Backå¦çä¸ã«ã¡ãã»ã¼ã¸ã表示 ãµã³ãã« Headeré¨ <style type="text/css"> .divProgress{ display: none; } </style> <link type="text/css" rel="stylesheet" href="./jquery/themes/base/jquery.ui.all.css" /> </link>
JavaScriptç·¨ ãµã¼ããµã¤ãã³ã¼ãããJavaScriptãåãè¾¼ã ãµã³ãã« Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load Dim cs As ClientScriptManager ' ã¯ã©ã¤ã¢ã³ãã«ã³ã¼ã«ããã¯ã®å¤ãåãåãã¹ã¯ãªãâ¦
ã¯ã©ã¤ã¢ã³ãã»ã³ã¼ã«ããã¯ã¨ã¯ ãã¼ã¸ããªãã¼ãããã«ãµã¼ãã¼ã¨ããåãããæ¹æ³ã ãã¹ãããã¯ã«ããããã©ã¼ãã³ã¹ã®ä½ä¸ãé¿ããæ¹æ³ã¨ãã¦ãã¯ã©ã¤ã¢ã³ãã³ã¼ã«ããã¯ã使ã£ã¦ãµã¼ãã¼ã®ã³ã¼ããå®è¡ã§ããã ã©ã¤ã¢ã³ãã»ã³ã¼ã«ããã¯ãå©ç¨ãããâ¦
ã·ã³ãã«ãªãµã³ãã« * ã¾ãã¯ãããã§ç°å¢ãã§ãã¦ãããã確èªãã ãµã³ãã« <html> <head> <title></title> <link rel="stylesheet" href="jquery/themes/base/jquery.ui.all.css" /> <script src="jquery/jquery-1.6.2.js" type="text/javascript"></script> </link></head></html>
â ã¯ããã« SQL ã® View ã«é¢ãã¦ãã¡ã¢ã ç®æ¬¡ ãï¼ãView (ãã¥ã¼)ã¨ã¯ï¼ ãï¼ãã¡ãªããã»ãã¡ãªãã ãï¼ãæ§æ ï¼ï¼ä½æ ï¼ï¼åé¤ ãï¼ããµã³ãã« ä¾ï¼ï¼ãã®å¹´ã®ææ°å®è¡ããããã¼ã¿ãåå¾ãããã¥ã¼ï¼PostgreSQLï¼ ãï¼ãView (ãã¥ã¼)ã¨ã¯ï¼ * å®ãâ¦
* æãããã¿æ©è½ï¼ééå¯è½ãªããã«ï¼ãæããã³ã³ããã¼ã«ã¯ã以ä¸ã®éãã ã1ãCollapsiblePanelã³ã³ããã¼ã« http://blogs.yahoo.co.jp/dk521123/26999505.html ã2ãAccordionã³ã³ããã¼ã« http://blogs.yahoo.co.jp/dk521123/27014486.html ã2ãAccoâ¦
â Datepicker * æ¥ä»å ¥åè£å©ã§ãã«ã¬ã³ãã¼ãã©ã¼ã ãä½æãã Datepickerä»æ§ http://docs.jquery.com/UI/Datepicker ã㢠http://akdiary.seesaa.net/article/114106237.html 主ãªãããã㣠ä¸è¬ * dateFormatï¼æ¥ä»ãã©ã¼ããã(ä¾ãdateFormat: 'yy/mmâ¦
* æãããã¿æ©è½ï¼ééå¯è½ãªããã«ï¼ãæããã³ã³ããã¼ã«ã¯ã以ä¸ã®éãã ã1ãCollapsiblePanelã³ã³ããã¼ã« http://blogs.yahoo.co.jp/dk521123/26999505.html ã2ãAccordionã³ã³ããã¼ã« http://blogs.yahoo.co.jp/dk521123/27014486.html ç¹å¾´ * ã©â¦
ã1ãã«ã¼ãURLæååãåå¾ï¼"~"ãã«ãç¸å½ï¼ããã«ã¯ ãµã³ãã«1 Dim requestUri As Uri = New Uri(Request.Url, Request.ApplicationPath) åèæç® http://d.hatena.ne.jp/nanamasuhoshi/20090205/1233825202 ã2ã"~"ãã«ããHTMLã®ã¿ã°ã«ä½¿ç¨ããã«ã¯ *â¦
JQueryã»Datepickerãããã ç»åãã¿ã³ã®ä½ç½®ã調æ´ãã <style type="text/css"> .ui-datepicker-trigger { margin-left:5px; margin-top: 8px; margin-bottom: -3px; } </style> åèæç® http://www.fbloggs.com/2009/04/16/how-to-style-the-button-image-in-jquery-datehandler-ui/ æ¥â¦
MaskedEditExtender/MaskedEditValidatorã³ã³ããã¼ã« ç¹å¾´ MaskedEditExtender * æååã®ãå½¢å¼ããå ¥åè¦åï¼ãã¹ã¯ï¼ããè¦å®ã§ãã MaskedEditValidator * MaskedEditã³ã³ããã¼ã«ã¨ã®çµã¿åããã§å©ç¨ãããã¨ãæ³å®ããæ¤è¨¼ã³ã³ããã¼ã« * æ¤è¨¼ã³ã³ãâ¦
ãã¦ã³ãã¼ãï¼JQueryï¼ http://jqueryui.com/download ãµã³ãã« * JQueryã®Datepickerãå©ç¨ããTextBoxãã¦ã¼ã¶ã³ã³ããã¼ã«åãã WebUserControl1.ascxï¼ã¦ã¼ã¶ã³ã³ããã¼ã«åï¼ <%@ Control Language="vb" AutoEventWireup="false" CodeBehind="WebUserâ¦
ASP.NETã«ãããã«ã¬ã³ãã¼å ¥åã«é¢ã㦠(1) ã«ã¬ã³ãã¼ã³ã³ããã¼ã«ï¼Calendarï¼ãå©ç¨ï¼â ä»åâ ï¼ âæä½æ§ãå®è£ ã®é£åº¦ã¯ã(2)ã(3)ã«è½ã¡ãããã«ã¬ã³ãã¼ãç¬èªã§ã«ã¹ã¿ãã¤ãºã§ããï¼ä¼æ¥è¨å®ãªã©ï¼ http://blogs.yahoo.co.jp/dk521123/26916160.html (2â¦
Webãµã¼ãã¹ * http://itpro.nikkeibp.co.jp/members/ITPro/ITBASIC/20030122/1/ ãµã³ãã« Sample.aspx(ãã¶ã¤ã³é¨) <%@ Page Language="vb" AutoEventWireup="false" CodeBehind="Sample.aspx.vb" Inherits="WebApplication1._call" %> http://www.w3.org/Tâ¦