刚刚从MySql/MSSQL数据库转到Oracle,用C#调用时一直更新不成功 ,后来发现是传参数格式不正确的问题。Oracle里的command 要在参数名前用冒号:标注。SqlServer和MySQL都是用@。见http://www.codeproject.com/Questions/61858...
分类:
数据库 时间:
2014-08-22 16:03:58
阅读次数:
309
HttpGet和HttpPost的使用步骤1. 创建HttpGet或HttpPost对象,将要请求的URL通过构造方法传入HttpGet或HttpPost对象。2. 使用DefaultHttpClient.execute方法发送HTTP GET或HTTP POST请求,并返回HttpResponse...
分类:
其他好文 时间:
2014-08-22 15:52:19
阅读次数:
154
下面讲述根据xml生成对应序列化反序列化类的过程,xml需要首先转化为xsd,然后再生成为实体类。其中,XSD是XML Schema Definition的缩写。1.拥有一个xml文件2.打开vs的command line:xsd *.xml ,执行这个命令 是通过xml文件生成xsd文件,xsd文...
分类:
其他好文 时间:
2014-08-22 12:26:46
阅读次数:
350
在使用LOAD DATA LOCAL INFILE时遇到:ERROR 1148 (42000): The used command is not allowed with this MySQL version解决办法:1、启动mysql时添加--local_file=1选项;2、在my.cnf的[m...
分类:
其他好文 时间:
2014-08-22 09:18:15
阅读次数:
285
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Command: mysql_secure_installation ...
分类:
数据库 时间:
2014-08-22 05:00:35
阅读次数:
964
一、IFS介绍Shell脚本中有个变量叫IFS(InternalFieldSeprator),内部域分隔符。完整定义是TheshellusesthevaluestoredinIFS,whichisthespace,tab,andnewlinecharactersbydefault,todelimitwordsforthereadandsetcommands,whenparsingoutputfromcommandsubstitution,andwhenperf..
分类:
其他好文 时间:
2014-08-22 02:51:46
阅读次数:
208
打开sublime :Preferences>按钮绑定-用户 然后复制下面代码 保存 重新打开sublime 就能按F1-火狐 F2-Chrome F3-IE 快捷键在浏览器打开当前文件 1 [ 2 { "keys": ["ctrl+shift+c"], "command": "copy_p...
分类:
其他好文 时间:
2014-08-22 00:06:55
阅读次数:
324
译至:http://linoxide.com/linux-command/linux-lsblk-command/ lsblk命令(列出块设备)用于列出所有可用的块设备的信息,但是, 它并没有列出有关的RAM磁盘的信息。块设备的例子是硬盘,闪存驱动器,CD-ROM等等。 如何安装lsblk该命令ls...
分类:
系统相关 时间:
2014-08-21 22:23:34
阅读次数:
384
find命令find pathname -options [-print -exec -ok ...] -print: find命令将匹配的文件输出到标准输出。 -exec: find命令对匹配的文件运行该參数所给出的shell命令。对应命令的形式为'command' { } \;,注意{ }和\;...
分类:
系统相关 时间:
2014-08-21 19:19:24
阅读次数:
321
1.TreeView选择事件执行两次Very often, we need to execute some code inSelectedItemChangeddepending on the selectedTreeViewItem. ButSelectedItemChangedis called...
分类:
其他好文 时间:
2014-08-21 19:12:24
阅读次数:
228