源代码:
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SQLTest
{
c...
分类:
数据库 时间:
2014-08-02 15:34:43
阅读次数:
210
查询数据路里的数据数量:
代码:
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespac...
分类:
数据库 时间:
2014-08-02 15:33:53
阅读次数:
259
安装了一个2008的VM,欢天喜地准备做一些测试,结果在用UNC访问VM的过程中出现了如下错误,这个错误其实非常普遍,在google里搜error number能搜出好多文章,这其实也是最可怕的地方,搜出来的东西千奇百怪,却没有一个能和自己的错误对应上。本例就是其中一个,windows firewa...
分类:
Windows程序 时间:
2014-08-02 15:23:53
阅读次数:
1025
ubuntu软件中心emacs的版本是23,自己在网上下了最新版24.3,通过编译安装到时候遇到来很多依赖问题,下面将这些问题整理了出来:
1.执行./configure命令出现如下错误:
configure: error: You seem to be running X, but no X development libraries
were found. You should i...
分类:
其他好文 时间:
2014-08-02 01:55:52
阅读次数:
304
Command对象可以分成4种,SqlCommand,OleDbComman,OlbcCommand,OracleComman
属性
说明
CommandType
获取或设置Command对象要执行命令的类型
CommandText
获取或设置要对数据源执行的SQL语句或存储过程名或表名
CommandTimeOut
获取或设置...
分类:
Web程序 时间:
2014-08-01 23:10:42
阅读次数:
294
SD总线通信是基于指令和数据比特流,起始位开始和停止位结束。SD总线通信有三个元素:1.Command:由host发送到卡设备,使用CMD线发送;2.Response:从card端发送到host端,作为对前一个CMD的相应,通过CMD线发送;3.Data:即能从host传输到card,也能从card传输到host,通过data线传输。一、Commands 以下是四种用于控制卡设备的指令类型,每个c...
分类:
其他好文 时间:
2014-08-01 19:46:42
阅读次数:
219
Gentlemen, how many times you’ve found yourself with the right girl, wrapped in one another’s arms to create the right moment but have been lost for w...
分类:
其他好文 时间:
2014-08-01 18:31:52
阅读次数:
248
以前用command方法执行存储过程增加参数时,总是先用cmd.Parameters.Add方法来设置参数和参数类型,再用Parameters[0].Value来给参数赋值。以前的一个动作代码示例: 1 string strConn = "Data Source=.;Initial Catalog=...
分类:
其他好文 时间:
2014-08-01 13:15:41
阅读次数:
242
可能是项目绑定的日志不是logback的jar包,而是其他包,具体可查看tomcat启动日志log4j:WARN No appenders could be found for logger (org.springframework.web.context.ContextLoader).log4j:...
分类:
其他好文 时间:
2014-08-01 12:50:31
阅读次数:
263
不多说,直接上脚本。
# processbar
processbar() {
local current=$1; local total=$2;
local maxlen=80; local barlen=66; local perclen=14;
local format="%-${barlen}s%$((maxlen-barlen))s"
local perc="[$cu...
分类:
其他好文 时间:
2014-08-01 10:53:01
阅读次数:
257