Click here to Skip to main content
15,881,281 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
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
Updated 14-Dec-10 22:12pm
v2
Comments
Dalek Dave 15-Dec-10 4:12am    
Edited for Grammar and Readability.

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?
 
Share this answer
 
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...
 
Share this answer
 
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!!!
 
Share this answer
 

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900