herman_herman
2010-06-16T18:48:52Z
Clicking Report Post brings the following error:

Cannot convert type 'System.Data.DataRowView' to 'System.Data.DataRow'

It is reproducible in this forum.
Sponsor
Kamyar
2010-06-19T12:00:14Z
The error is clear. We cannot pass DataRowView to MessagePostData Control when we have defined the "DataRow" variable of type "DataRow" in it.
The solution:
Replace:
 Container.ToDataItemType<System.Data.DataRowView>()
with
((System.Data.DataRowView)Container.DataItem).Row
in pages/reportpost.ascx line 31
Fixed in SVN No. 3436
If at first you don’t succeed, call it version 1.0

About Us

The YAF.NET is an open source .NET forum project. YAF.NET is supported by an team of international developers who are build community by building community software.

Powered by Resharper Donate with PayPal button

Project Twitter Updates

Copyright © YetAnotherForum.NET & Ingo Herbote. All rights reserved