yanwei067

博客园 首页 新随笔 联系 订阅 管理

2007年9月19日 #

摘要: 程序代码 cmd.Parameters.Add( new SqlParameter(RETURNVALUE,SqlDbType.Int,4,ParameterDirection.ReturnValue, false,0,0,string.Empty,DataRowVersion.Default,null)); SqlParameter内的参数都是什么意思呢? 程序代码 public... 阅读全文
posted @ 2007-09-19 17:56 一缕光 阅读(863) 评论(1) 推荐(0) 编辑

摘要: 本文以Sql Server2000为例,示例数据库为china,表为test,来说明以C#中使用sql存储过程的方法。 一、test表的创建sql语句: create table test55 ( uid int identity(1,1), class1 varchar(20), class2 varchar(20), uname varchar(20), birth smalldatet... 阅读全文
posted @ 2007-09-19 17:40 一缕光 阅读(353) 评论(0) 推荐(0) 编辑