Click here to Skip to main content
12,396,149 members (62,785 online)
Rate this:
 
Please Sign up or sign in to vote.
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 5:19am
kvidox170
Updated 14-Dec-10 22:12pm
Dalek Dave433.4K
v2
Comments
Dalek Dave 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
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web01 | 2.8.160721.1 | Last Updated 15 Jun 2011
Copyright © CodeProject, 1999-2016
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