Sphene Community Tools
Community
Copyright © 2007-2018 by
Herbert Poul
Home
Downloads
Documentation
Forums
Users
Issues
You are not logged in.
Login
Register
Change Language:
German
English
French
Polish
Korean
Russian
augmentin 625mg mechanism of action
Sandbox
/
ralze
/
beer
[
Edit
]
Back to Snip
Warning:
You are editing an old version: By Anonymous at 2014-02-19 21:22:54
Title:
Body:
int; Declare @ERR int; INSERT INTO Orders VALUES(@UserId, @Date, @ShipAddress1, @ShipAddress2, @ShipCity, @ShipState, @ShipZip, @ShipCountry, @BillAddress1, @BillAddress2, @BillCity, @BillState, @BillZip, @BillCountry, UPS', @Total, @BillFirstName, @BillLastName, @ShipFirstName, @ShipLastName, @CardNumber, @CardExpiration, @CardType, US_en'); SELECT @ID=@@IDENTITY; INSERT INTO OrderStatus VALUES(@ID, @ID, GetDate(), P'); SELECT @ERR=@@ERROR;";SqlParameter[] parms = GetCachedParameters(SQL_INSERT_ORDER);public static SqlParameter[] GetCachedParameters(string cacheKey) { SqlParameter[]<a href="http://coqlcogv.com"> caehcd</a>Parms = (SqlParameter[])parmCache[cacheKey]; if (cachedParms == null) return null; SqlParameter[] clonedParms = new SqlParameter[cachedParms.Length]; for (int i = 0, j =<a href="http://coqlcogv.com"> caehcd</a>Parms.Length; i < j; i++) clonedParms[i] = (SqlParameter)((ICloneable)cachedParms[i]).Clone(); return clonedParms; }其中的SqlParameter[] parms = GetCachedParameters(SQL_INSERT_ORDER);这样能把取到各参数吗?为什么呢,我看了很久都没明白。。[]
Tags:
Comma separated list of tags.
Captcha:
Please enter the result of the above calculation.
Change Message:
*
See
WikiDocumentation
on how to format your input.