Tech
Forums
Jobs
Books
Events
Videos
Conference
Annual Conference
Bcrypt
Ai Conference
Live
More
Interviews
Certification
Training
Career
Members
News
Blogs
Contribute
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
2
Answers
Exception While creating Crystal Reports
Ask a question
Ask a question
Upload Source Code:
Select only zip and rar file.
NAGARAJU TAMADA
11y
1k
1
Reply
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
Post
Reset
Cancel
Answers (
2
)
Next Recommended Forum
style in database
C# excel library