SqlParameter sqlParameter = new SqlParameter();
sqlParameter.SqlDbType = SqlDbType.Structured;
sqlParameter.Value = myDataTable;
sqlParameter.ParameterName = "Whatever";
sqlParameter.Direction = ParameterDirection.Input;
sqlParameter.IsNullable = false;
No comments:
Post a Comment