DataTable in Pocket PC

Hi all,
I just curious if DataTable.Copy method was disable in PocketPC project

I look through all the method / event for DataTable in my VB pocket pc project, the copy method was missing. Am I missing any namespace Or it was purposely disable in pocket Pc project only




Answer this question

DataTable in Pocket PC

  • rpgoldberg

    There seem to be some confusion with versions.

    First of all, version of desktop framework (e.g. 1.1.4322) has nothing to do with Compact Framework version on devices. If your code is running on devices, you're most certainly not using 1.1.4322 because it's the desktop framework version.

    VS 2003 supports development for NETCF 1.0:

    1.0.2268.0 - RTM

    1.0.3111.0 - SP1

    1.0.3316.0 - SP2

    1.0.4292.0 - SP3

    VS 2005 supports development for both NETCF 1.0 and for NETCF 2.0 which is currently available in RTM - 2.0.5238.0 with SP1 in beta.

    There's no "CF 1.1" even though same VS 2003 works with desktop framework 1.1.



  • ldcooke

    I'm not sure whether you have VS 2005 installed - you would need it to develop using NetCF 2.0.

    If you're using VS 2005 already and doing a NetCF 1.1 project, you can upgrade the project to 2.0 by right clicking on the project in the solution explorer and choosing 'Upgrade Project'


  • dean183

    man, I just told you I'm using vs2003.
    I don't use vs2005.


    Its okay now i just do another way round to fix that datatable problem.



  • quodlibet

    oh, i'm using .net 1.1.4322
    I just have to do importrow then.

    Thanks for your reply.



  • David Crocker

    hi, if you are using CF 1.1, there is no .copy method, you have clone method, but it only copy the table structure...

    the copy method is implemented in CF 2.0....


    salute!

  • W S Jones

    sorry I'm not quite sure what do you mean by I don't
    I develop this application in 1.1.4322. So how am I going to use 2.0 code on the device I need to deploy though..



  • Sergey Kononov

    Actually, you don't. On device you're using .Net Compact Framework V1.0 which is quite different from framework on desktop.

    Here's how to determine version you're using:

    http://wiki.opennetcf.org/ow.asp CompactFrameworkFAQ%2FDeterminingVersion



  • DataTable in Pocket PC