2010-08-01ãã1ã¶æéã®è¨äºä¸è¦§
â ãã£ã¬ã¯ããªã®æç¡ * Directory.Exists() ã使ç¨ãã â ãã£ã¬ã¯ããªå ã®ãã¡ã¤ã«ç·æ° å®ç¾æ¹æ³ï¼ * Directory.GetFiles ãå©ç¨ãã¦å®è£ ãã ãµã³ãã« http://dobon.net/vb/dotnet/file/getfiles.html ãåè string[] files = System.IO.Directory.GetFiâ¦
â Join(å é¨çµå) ãµã³ãã« ååã¯ã©ã¹ class product { public int Id; public string name; } // å¤æ®µã¯ã©ã¹ class productPrice { public int Id; public int price; } private void button2_Click(object sender, EventArgs e) { product[] productList â¦
â å·¦å¤é¨çµå (Left Outer Join) ãµã³ãã« class product { public int Id; public string name; } class productPrice { public int Id; public int price; } class productStock { public int Id; public int stock; } private void button6_Click(object sâ¦
ä¸æºå 以ä¸ã®ä¾ã«ã¤ãã¦ã¯ã http://blogs.yahoo.co.jp/dk521123/16895242.html ãåãã£ã¦è¡ã£ã¦ãã¾ãã ãã¼ã¿åç §ï¼1ï¼ï¼SQLã®SELECTã¿ããã«ãã¼ã¿åå¾ãã * Select()ã使ç¨ãã ä¾ private void button1_Click(object sender, EventArgs e) { int[] â¦
â ã¯ããã« ã¹ãã¢ãããã·ã¼ã¸ã£ ããã³ ã¹ãã¢ããã¡ã³ã¯ã·ã§ã³ã«ã¤ã㦠å¾ã ã«è¨é²ãã¦ãã ç®æ¬¡ ãï¼ãã¹ãã¢ãã«é¢ã㦠ãï¼ãå©ç¹ ï¼ï¼ã¢ã¸ã¥ã¼ã«æ§ã®åä¸ ï¼ï¼é«éãªå®è¡ ï¼ï¼ãããã¯ã¼ã¯ãã©ãã£ãã¯ã®è»½æ¸ ï¼ï¼ã»ãã¥ãªãã£åä¸ ãï¼ãã¹ãã¢ãã«â¦
â ã¯ããã« SQL ã® BETWEENå¥ / NOT BETWEENå¥ãæ±ã ãï¼ãBETWEENå¥ / NOT BETWEENå¥ FROM TO ãçµãæã«ä½¿ç¨ ãï¼ãæ§æ -- BETWEENå¥ SELECT [é ç®] FROM [ãã¼ãã«å] WHERE [対象é ç®] BETWEEN æ¡ä»¶1 AND æ¡ä»¶2 /* â ãã注ç®â */ -- NOT BETWEENå¥ SELâ¦
â ã¯ããã« ããã©ã¼ãã³ã¹ã®è¯ãSQLãè¨è¿°ããæ¹æ³ãè¨ãã ç®æ¬¡ ãï¼ãå ¨è¬ ï¼ï¼ã¯ã¨ãªã®æ¸ãæ¹ãçµ±ä¸ãã ï¼ï¼ã¯ã¤ã«ãã«ã¼ãã*ãã使ç¨ããªã ï¼ï¼è¡¨ã«å¥åãä»ãã ï¼ï¼DISTINCTã®ä½¿ç¨ã¯ã極åé¿ãã ãï¼ãã¤ã³ããã¯ã¹ ãï¼ãç¸é¢ãµãã¯ã¨ãª / èªå·±â¦
staticã«ã¤ã㦠éçã¯ã©ã¹ éçã¯ã©ã¹ * éçã¯ã©ã¹ã®åæåã§ã(å½ããåãããããªãã)ã³ã³ã¹ãã©ã¯ã¿ã使ç¨ãããã¨ã¯ã§ããªã * éçã¯ã©ã¹ã®åæåã¯ãéçã³ã³ã¹ãã©ã¯ã¿ï¼static constructorï¼ã使ã ä¾ public static class SampleStaticClass { sâ¦
ãï¼ãLinq * Linq = Language Integrated Queryï¼çµ±åè¨èªã¯ã¨ãª) cf. Query (ã¯ã¨ãª) = åãåãã * é å/Collection/DBãªã©ã®ãã¼ã¿ã®éã¾ãããã æ å ±ãå¹çããåãåºããã¨ã®ã§ããæ©è½ ãï¼ãå©ç¹ * ã©ã ãå¼ï¼â»ï¼ï¼ã使ã£ã¦ãè¤éãªå¦çãç°¡æ½ã«æ¸â¦
â ã¯ããã« SQL ã® CASEæã«ã¤ãã¦æ±ãã ç®æ¬¡ ãï¼ãCASEæ ãï¼ãç¨®é¡ ï¼ï¼åç´CASEå¼ï¼simple caseï¼ ï¼ï¼æ¤ç´¢CASEå¼ï¼searched caseï¼ ãï¼ã使ç¨ä¸ã®æ³¨æ ãï¼ãDBNullã®å¤å® ãï¼ãCASEæ * éä¾å(SQL-92ã§æ¨æº) ãï¼ãç¨®é¡ ï¼ï¼åç´CASEå¼ï¼simple câ¦
Hostsãã¡ã¤ã«ã¨ã¯ï¼ * PCå ã§ãµã¤ãåãªã©ãIPã«å¤æããããã®ãã¡ã¤ã« ä¾ # Copyright (c) 1993-1999 Microsoft Corp. # # This is a sample HOSTS file used by Microsoft TCP/IP for Windows. # # This file contains the mappings of IP addresses to â¦