共用方式為


SqlCeParameterCollection.Add Method

Adds a SqlCeParameter to the SqlCeCommand.

Overload List

Name Description
SqlCeParameterCollection.Add (Object) Adds a SqlCeParameter object to the SqlCeCommand.

Supported by the .NET Compact Framework.
SqlCeParameterCollection.Add (SqlCeParameter) Adds the specified SqlCeParameter to the SqlCeParameterCollection.

Supported by the .NET Compact Framework.
SqlCeParameterCollection.Add (String, Object) Adds a SqlCeParameter to the SqlCeParameterCollection given the parameter name and value.

Supported by the .NET Compact Framework.
SqlCeParameterCollection.Add (String, SqlDbType) Adds a SqlCeParameter to the SqlCeParameterCollection given the parameter name and data type.

Supported by the .NET Compact Framework.
SqlCeParameterCollection.Add (String, SqlDbType, Int32) Adds a SqlCeParameter to the SqlCeParameterCollection given the parameter name, data type, and column width.

Supported by the .NET Compact Framework.
SqlCeParameterCollection.Add (String, SqlDbType, Int32, String) Adds a SqlCeParameter to the SqlCeCommand given the parameter name, data type, column width, and source column name.

Supported by the .NET Compact Framework.

See Also

Reference

SqlCeParameterCollection Class
SqlCeParameterCollection Members
System.Data.SqlServerCe Namespace