Sets the designated parameter to the given String value.
public final void setString(int index,
java.lang.String str)
參數
index
An int that indicates the parameter number.
str
A String value.
例外狀況
備註
This setString method is specified by the setString method in the java.sql.PreparedStatement interface.
另請參閱
參考
SQLServerPreparedStatement Class
概念
SQLServerPreparedStatement Methods
SQLServerPreparedStatement Members