System.Data.SqlClient.SqlParameterCollection.Add(string, object)”已过时
警告 1 “System.Data.SqlClient.SqlParameterCollection.Add(string, object)”已过时:“Add(String parameterName, Object value) has been deprecated. Use AddWithValue(String parameterName, Object value). http://go.microsoft.com/fwlink/?linkid=14202” E:\n\3CMarketY\Mkt3C_Class\MainClass.cs 264 4 Mkt3C_Class
拜托高手帮忙.
------解决方案--------------------Use AddWithValue(String parameterName, Object value).
人家都说了啊!
System.Data.SqlClient.SqlParameterCollection. AddWithValue(string, object)