如何创建一个SqlParameter类型的对象数组?
如何创建一个SqlParameter类型的对象数组?
------解决方案--------------------SqlParameter[] parameters =
{
new SqlParameter( "@userName ",SqlDbType.VarChar,30),
new SqlParameter( "@password ",SqlDbType.VarChar,30),
new SqlParameter( "@domainName ",SqlDbType.VarChar,200),
new SqlParameter( "@indexPage ",SqlDbType.VarChar,30),
new SqlParameter( "@trueName ",SqlDbType.VarChar,30),
new SqlParameter( "@registeredIP ",SqlDbType.VarChar,30),
new SqlParameter( "@qqNumber ",SqlDbType.VarChar,30),
new SqlParameter( "@email ",SqlDbType.VarChar,30),
new SqlParameter( "@phone ",SqlDbType.VarChar,30),
new SqlParameter( "@version ",SqlDbType.Int,4)
};