List list = new List();
list.Add(new SqlParameter("@Param1", "1"));
list.Add(new SqlParameter("@Param2", "2"));
list.Add(new SqlParameter("@Param3", "3"));
list.Add(new SqlParameter("@Param4", "4"));
list.Add(new SqlParameter("@ParamLike","%test%"));
SqlParameter[] param = list.ToArray();
沒有留言:
張貼留言