Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C++/CLI VS2010
When I configure sqlDataAdapter and then run command from Data->Generate Dataset the IDE generates xsd and h file for dataset, but then ends with error.
 
An exception occurred while attempting to set the data source generator property.
The same operation work without error in C# project. What's wrong ? Thanks
Posted 22-Aug-10 6:19am
kvidox156
Edited 14-Dec-10 23:12pm
Dalek Dave432.9K
v2
Comments
Dalek Dave at 15-Dec-10 4:12am
   
Edited for Grammar and Readability.
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

Microsoft is not supporting C++/CLI well in VS2010. They also disabled Intellisense for it. Have you tried this in an older version of VS such as 2008?
  Permalink  
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

To Ted2102:
 
Thank for your answer, this problem i have encountered in VS2010 when i make test migrating from VS2008 to VS2010.
C++/CLI with VS2010 is not good combination.
C# is not interresting for me, i remain in not managed world...
  Permalink  
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 3

yes. It is my problem too. Microsoft is trying to
drop CLI/C++ and substitute it with C# and that is the first step.
 
oleDbDataAdapter1->Fill(dataSet1,L"Authors");

dataTable1=dataSet1->Tables->default[0];
String^ x=dataTable1->Rows->default[0]->default[1]->ToString();
 
an exception will occur!!!
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 Marcin Kozub 330
1 OriginalGriff 256
2 Sergey Alexandrovich Kryukov 215
3 Praneet Nadkar 197
4 Richard MacCutchan 182
0 OriginalGriff 8,048
1 Sergey Alexandrovich Kryukov 7,287
2 DamithSL 5,614
3 Manas Bhardwaj 4,986
4 Maciej Los 4,910


Advertise | Privacy | Mobile
Web03 | 2.8.1411023.1 | Last Updated 15 Jun 2011
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100