2013年8月13日
摘要: Installing & Configuring MySQL ServerThis Howto will show you how to install MySQL 5.x, start the service, make sure the server starts on reboot, login via terminal, change the root database admin password, change the name of the root user, add a new user with specific privileges to a specific d 阅读全文
posted @ 2013-08-13 17:27 西西弗斯 阅读(3179) 评论(0) 推荐(0) 编辑
  2013年7月10日
摘要: Xml 示例 1020 Nissan Sentra 1010 Toyota Corolla 1111 Honda Accord c#代码示例[Serializable()]public class Car{ [System.Xml.Serialization.XmlElement("StockNumber")] public string StockNumber { get; set; } [System.Xml.Serialization.XmlElement("Make")] public ... 阅读全文
posted @ 2013-07-10 09:33 西西弗斯 阅读(405) 评论(0) 推荐(0) 编辑
摘要: 1)创建Console Application工程2)修改Output type 为Windows Application即可 阅读全文
posted @ 2013-07-10 09:25 西西弗斯 阅读(613) 评论(0) 推荐(0) 编辑
  2013年6月4日
摘要: 1. Canvas1.1 Canvas的width/height属性与Css中的width/height不同。Cause: It seems that the width and height attributes determine the width or height of the canvas's coordinate system, whereas the CSS properties just determine the size of the box in which it will be shown. 阅读全文
posted @ 2013-06-04 08:44 西西弗斯 阅读(410) 评论(0) 推荐(0) 编辑
  2013年3月1日
摘要: ============Clock Begin==========View Code 1 <!DOCTYPE html> 2 <html> 3 <head> 4 <script type="text/javascript"> 5 var H='....'; 6 var H=H.split(''); 7 var M='.....'; 8 var M=M.split(''); 9 var S='......'; 10 var S=S.split( 阅读全文
posted @ 2013-03-01 14:52 西西弗斯 阅读(231) 评论(0) 推荐(0) 编辑
  2013年1月15日
摘要: [STAThread] static void Main(string[] args) { if (args.Length > 0) // Console Application { AttachConsole(-1); Console.WriteLine(""); Console.WriteLine("Running in console, press ENTER to continue"); ... 阅读全文
posted @ 2013-01-15 17:43 西西弗斯 阅读(377) 评论(0) 推荐(0) 编辑
  2012年12月18日
该文被密码保护。 阅读全文
posted @ 2012-12-18 16:59 西西弗斯 阅读(4) 评论(0) 推荐(0) 编辑
  2012年10月29日
摘要: Windows.ApplicationModel.DesignMode.DesignModeEnabled; 阅读全文
posted @ 2012-10-29 18:15 西西弗斯 阅读(180) 评论(0) 推荐(0) 编辑
  2012年7月3日
摘要: 1) .NET Framework 4下,LC.exe 位于%programe files%\Microsoft SDKs\Windows\v7.0A\bin\NETFX 4.0 Tools. 这个LC.exe有的版本实际上不支持.net 4,因此添加配置文件lc.exe.config可以解决<?xml version ="1.0"?><configuration> <startup useLegacyV2RuntimeActivationPolicy="true"> <supportedRuntime vers 阅读全文
posted @ 2012-07-03 09:15 西西弗斯 阅读(1544) 评论(0) 推荐(0) 编辑
  2012年6月12日
摘要: 1) SvcUtil.exe http://localhost/someone.svc?wsdlError details: The remote server returned an error: (415) Cannot process the message because the content type 'application/soap+xml;charset=utf-8' was not the expected type 'text/xml; charset=utf-8'..Cause:a. This is usually a mismatch 阅读全文
posted @ 2012-06-12 11:55 西西弗斯 阅读(492) 评论(0) 推荐(0) 编辑