From: Rolf M. <rm...@fa...> - 2008-04-07 14:33:22
|
Jiri Cincura wrote: > Can you show us piece of code? > > CultureInfo ci = CultureInfo.CurrentCulture; NumberFormatInfo nfi = ci.NumberFormat; decimal decPrice, decCost; decPrice = decimal.Parse(pricePieces[0]); // pricePieces is a string array where I remove trailing currency sign string fbInsertString = "insert into tBooks values ('" + BookNbr + "', '" + Title.ToString().Replace("'", "''") + "', '" + Author.ToString().Replace("'", "''") + "', '" + ISBN + "', '" + Illus + "', '" + // Locn + "', '" + decPrice + "', '" + decCost + "', '" + ... |