Note This problem does not occur when you use one of the following data providers:
Hotfix informationA supported hotfix is available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing this specific problem.
If the hotfix is available for download, there is a "Hotfix download available" section at the top of this Knowledge Base article. If this section does not appear, submit a request to Microsoft Customer Service and Support to obtain the hotfix.
Note If additional issues occur or if any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. For a complete list of Microsoft Customer Service and Support telephone numbers or to create a separate service request, visit the following Microsoft Web site: Note The "Hotfix download available" form displays the languages for which the hotfix is available. If you do not see your language, it is because a hotfix is not available for that language.
PrerequisitesYou must have the .NET Framework 2.0 SP1 installed to apply this hotfix.
Restart requirementYou do not have to restart the computer after you apply this hotfix.
Hotfix replacement informationThis hotfix does not replace any other hotfixes.
File informationThe English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time item in Control Panel.
|File name||File version||File size||Date||Time||Platform|
Steps to reproduce the problem
- Create a Visual C# project or a Visual Basic project by using one of the following templates:
- The Windows Forms Application template in Microsoft Visual Studio 2008.
- The Windows Application template in Microsoft Visual Studio 2005 Service Pack 1.
- On the Data menu,click Add New Data Source.
- Connect to a Microsoft SQL Server database, and then select a table that contains scale and precision information in the Data Source Configuration Wizard dialog box.
- In Solution Explorer, right-click the dataset (.xsd) file, and then select View Designer.
- On the dataset tab, right-click TableAdapter, and then select Properties.
- In the Properties dialog box, expand one of the following commands:
- Select the parameters line, and then click the ellipsis button next to the Parameters label.
- In the Parameters Collection Editor dialog box, change the scale value and the precision value, and then click OK.
- In Solution Explorer,right-click the .cs file or the .vb file, and then select View Code.
- Check the scale value and the precision value.
Article ID: 958252 - Last Review: Mar 29, 2017 - Revision: 3