Re: SqlDbType error message
- From: "Ilya Tumanov [MS]" <ilyatum@xxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 29 Mar 2006 12:05:52 -0800
You should remove reference to System.Data.Common.dll as its functionality
has been moved to System.Data.dll in NETCF V2.
Also, please remove reference to SQL CE 2.0 providers and replace them with
SQL Mobile providers.
--
Best regards,
Ilya
This posting is provided "AS IS" with no warranties, and confers no rights.
*** Want to find answers instantly? Here's how... ***
1. Go to
http://groups-beta.google.com/group/microsoft.public.dotnet.framework.compactframework?hl=en
2. Type your question in the text box near "Search this group" button.
3. Hit "Search this group" button.
4. Read answer(s).
"kevinc" <kevinc@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:2767E94F-B1E9-4C9D-B231-351678D26532@xxxxxxxxxxxxxxxx
I am converting a project from vs2003 to vs2005 and framework v1 to v2. I
am
getting the following error message on this code:
using System;
using System.Data;
using System.Data.SqlServerCe;
using System.Windows.Forms;
using System.IO;
using System.Runtime.InteropServices;
using System.Text;
daTm.SelectCommand.Parameters.Add("@ID", SqlDbType.Int, 4);
Error 1 The type 'System.Data.SqlDbType' exists in both 'c:\Program
Files\Microsoft Visual Studio
8\SmartDevices\SDK\CompactFramework\2.0\v2.0\WindowsCE\System.Data.dll'
and
'c:\Program Files\Microsoft Visual Studio 8\SmartDevices\SDK\SQL
Server\Mobile\v2.0\System.Data.Common.dll'
How can I specify the correct one?
Thanks for any help.
.
- Prev by Date: Re: Exchange Data between SQLCE and SQL database on laptop?
- Next by Date: Re: non-value for DateTimePicker in CF2.0
- Previous by thread: Re: SqlDbType error message
- Next by thread: nic traffic monitor
- Index(es):
Loading