SqlDataAdapter.SelectCommand.Parameters.Add(new SqlParameter()) 或者定义一个sqlcommang后将此command添加到sqldataadapter