摘要:        
之前为了省事,给SQL语句添加参数时从来不指定类型,代码如下:代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->using(SqlCommandcmd=conn.CreateCommand()){cmd.CommandText=str;cmd.CommandTimeout=Timeout;SqlParameterparam=newSqlParameter("@name",value);cmd.Parameters.Add    阅读全文
posted @ 2010-01-07 19:11 张磊 Larry.Zhang 阅读(649) 评论(3) 推荐(0)
                    
                
浙公网安备 33010602011771号