c# Programming Glossary: promotionid
ExecuteReader requires an open and available Connection. The connection's current state is Connecting http://stackoverflow.com/questions/9705637/executereader-requires-an-open-and-available-connection-the-connections-curren is the rough code. public Promotion retrievePromotion int promotionID 0 string promotionTitle string promotionUrl Promotion promotion.. SqlDataReader dr sql.ExecuteReader while dr.Read promotionID DB2int dr PromotionID promotionTitle DB2string dr PromotionTitle.. DB2string dr PromotionURL promotion new Promotion promotionID promotionTitle promotionUrl dr.Dispose sql.Dispose CloseConnection..
|