Quantcast
Channel: Visual Studio Report Controls Forum
Viewing all articles
Browse latest Browse all 519

crystalreport error "Exception has been thrown by the target of an invocation"

$
0
0

hi

i have a report form and a datatable in it. when i fill the datatable the error bellow occur:

"Exception has been thrown by the target of an invocation."

my_report report = new my_report();
report.Database.Tables[0].SetDataSource(search_table.DefaultView.ToTable());

i use vs.net 2010 but in vs.net 2008 this code worked well !!!!!

thanks for your attention.


Viewing all articles
Browse latest Browse all 519

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>