TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
NAGARAJU TAMADA
NA
205
285.8k
Exception While creating Crystal Reports
Jul 27 2013 9:54 AM
Hi all
I have a Problem While Creating Crystal Reports
The Exception was
The Exception is:-Exception :: System.InvalidCastException: Unable to cast object of type 'System.Data.DataTable' to type 'System.Data.DataView'.
The crystal Reports Producing code When i click the button was
try
{
System.Data.DataTable table = ((DataView)dataGridViewPOR.DataSource).Table;
POCrystalReport crystal = new POCrystalReport();
crystal.SetDataSource(table);
this.POCrystalReportViewer.ReportSource = crystal;
}
The Exception Raised in the highlighted line .I used this code many times.but exception raisweed this time
please solve my issue.
NagaRaju T
Reply
Answers (
2
)
style in database
C# excel library