saleh.hi.62
دوشنبه 25 آذر 1387, 23:19 عصر
فرق دستور add با .addvithvalue cmd.paramter.چی؟
Chabok
سه شنبه 26 آذر 1387, 11:18 صبح
Add
SqlParameterCollection.Add (Object) Adds the specified SqlParameter object to the SqlParameterCollection.
SqlParameterCollection.Add (SqlParameter) Adds the specified SqlParameter object to the SqlParameterCollection.
SqlParameterCollection.Add (String, Object) Adds the specified SqlParameter object to the SqlParameterCollection.
SqlParameterCollection.Add (String, SqlDbType) Adds a SqlParameter to the SqlParameterCollection given the parameter name and the data type.
SqlParameterCollection.Add (String, SqlDbType, Int32) Adds a SqlParameter to the SqlParameterCollection, given the specified parameter name and value.
SqlParameterCollection.Add (String, SqlDbType, Int32, String) Adds a SqlParameter to the SqlParameterCollection with the parameter name, the data type, and the column length.
AddWithValue
public SqlParameter AddWithValue (
string parameterName,
Object value
)
vBulletin® v4.2.5, Copyright ©2000-1404, Jelsoft Enterprises Ltd.