Knowledge Base
smartDBforms.NET for ASP.NET 2
 
 
Knowledge Base Forum
Testimonials
It’s really refreshing to use. Looking at codegen products that are way overkill and generate source code that’s not maintainable - your product rocks.


I have demoed several other products also, and none came close to yours. The simplicity, ease of use and user friendliness were impeccable.
William Joshua
Madison County Schools


Thanks to smartDBforms.NET I am able to save lots of time and make even better websites. I am looking forward to use this tool to help me build websites based on databases.
Anton Beerens
www.blauwwit81.nl


We are really impressed with smartDBforms.NET and there is nothing else on the market as good.
Andy Jones
Make I.T. Simple
www.makeitsimple.info
Search knowledge base:

FIX: OleDbCommand.Prepare method requires parameters of type '14' have an explicitly set Precision and Scale.
Friday, 13 July 2007
When using OLE DB data provider and the SmartDataSource Select command contains parameters, which have the their type set to Decimal, the following error occurs during runtime: OleDbCommand.Prepare method requires parameters of type '14' have an explicitly set Precision and Scale.

SYMPTOMS

When using OLE DB data provider and the SmartDataSource Select command contains parameters, which have the their type set to Decimal, the following error occurs during runtime:

OleDbCommand.Prepare method requires parameters of type '14' have an explicitly set Precision and Scale.

CAUSE

OLE DB .NET provider requires Decimal parameters to have their Precision and Scale explicitly set. This is required only when calling the OleDbCommand.Prepare method. SmartDataSource does not set this properties because they are specific for the OLE DB provider.

RESOLUTION

The problem has been fixed in smartDBforms.NET 1.5 and later.  SmartDataSource explicitly sets the Precision and Scale for OLE DB parameters. It sets Precision to 15 and Scale to 10.

WORKAROUND

There is no known workaround.

APPLIES TO

smartDBforms.NET 1.4 and previous versions when used with OLE DB data provider.


Page Options: format for printing  Format for Printer

Copyright 2006-2010 Adillis Terms Of Use Feedback Contact Us