- 军军小站|张军博客
搜索到与相关的文章
C#

存储过程的参数问题与C#中的调用

1.带参数的存储过程setANSI_NULLSONsetQUOTED_IDENTIFIERONGOALTERPROCEDURE[dbo].[sp_select_gua]@numintASBEGIN--SETNOCOUNTONaddedtopreventextraresultsetsfrom--interferingwithSELECTstatements.SETNOCOUNTON;selectmeanfromtb_guawhereid=@numENDC#中

系统 2019-08-12 01:55:00 2473

数据库相关

is_file和file_exists效率比较

目前在弄文件缓存的时候用到了判定文件存在与否,is_file()还是file_exists()呢?is_file和file_exists两者效率比较起来,谁的运行速度更快呢?还是做个测试吧:1234567891011121314151617181920212223

系统 2019-08-12 01:54:48 2473

数据库相关

mongodb step by step

http://www.mongodb.org/downloadshttp://docs.mongodb.org/ecosystem/tutorial/download-and-compile-cpp-driver/http://docs.mongodb.org/manual/tutorial/getting-started/http://docs.mongodb.org/manual/tutorial/getting-started/#connect-to

系统 2019-08-12 01:54:41 2473

C#

C#-TextBox-登录表单password无形---ShinePans

usingSystem;usingSystem.Collections.Generic;usingSystem.ComponentModel;usingSystem.Data;usingSystem.Drawing;usingSystem.Linq;usingSystem.Text;usingSystem.Windows.Forms;namespaceTextBox_1{publicpartialclassForm1:Form{publicForm1(){

系统 2019-08-12 01:53:15 2473

Tomcat

tomcat 的缓存机制

事出做项目时一个jsp页面修改后一直没有读出来,后来仔细研究了下tomcat才发现当请求jsp页面时,Tomcat会分派给JspServlet来处理,在jspServlet的方法service()中有一句booleanprecompile=preCompile(request);它会判断你请求jsp页面时有没有带?jsp_precompile查询字符串,如果带了就会重新编译然后再由serviceJspFile(request,response,jspUri

系统 2019-08-12 01:33:44 2473

Linux

Linux下安装Perl和Perl的DBI模块

今天在虚拟机测试shell脚本的时候,有些命令使用不了。比如说mysqlhotcopy,它提示Perl的版本太低。我用的RedHat9的Perl才5.8.0版本。。。(2002年以前的)严重过时。所以重新安装了新版本的Perl,过程记录如下:1、在官方网站下载新版本的源码包:http://www.perl.org/get.html,版本自己选择,我下载的是perl-5.18.2.tar.gz2、解压/usr/local/src下的perl-5.18.2.t

系统 2019-08-12 01:33:34 2473

各行各业

XCode中连接使用GitHub

之前有写了两篇在windows下使用VisualStudio连接GitHub的文章,有需求的可以去看一下。windows中使用Git工具连接GitHub(配置篇)和在VisualStudio中使用GitHub(使用篇)本文是讲在MacOS中使用XCode连接GitHub。软件版本:MacOS10.7.4XCode4.3.2不需要另行安装任何软件,XCode的默认源码管理软件就是Git。所以我们要做的只是配置而已。红色为输入命令蓝色为自行输入的参数绿色为注释

系统 2019-08-12 01:33:13 2473

Windows

在Debian Etch上安装Windows

原文地址:http://www.javaeedev.com/blog/article.jspx?articleId=ff80808114a5e25d0114c01e698f00a8WindowsXP安装完毕的界面:Trackback:http://tb.blog.csdn.net/TrackBack.aspx?PostId=1768435在DebianEtch上安装Windows

系统 2019-08-12 01:32:38 2473

操作系统

获取进程快照

点击下载演示工程unitUnit1;interfaceusesWindows,Messages,SysUtils,Variants,Classes,Graphics,Controls,Forms,Dialogs,StdCtrls,TLHelp32,ComCtrls;typeTForm1=class(TForm)Button1:TButton;ListView1:TListView;Button2:TButton;procedureButton1Click(

系统 2019-08-12 01:32:28 2473

Python

logging - Logging facility for Python... - Python 的日志记录工具

logging-LoggingfacilityforPython-Python的日志记录工具Thismoduledefinesfunctionsandclasseswhichimplementaflexibleeventloggingsystemforapplicationsandlibraries.这个模块为应用与库定义了实现灵活的事件日志系统的函数与类。ThekeybenefitofhavingtheloggingAPIprovidedbyastand

系统 2019-09-27 17:57:39 2472