Click here to Skip to main content
16,019,619 members

Comments by Member 14769690 (Top 4 by date)

Member 14769690 15-Oct-20 4:09am View    
An error occurred during a local report processing the definition of the report is invalid. An unexpected error occurred in report processing. The external component has thrown an exception. How I can resolve this erorr
Member 14769690 12-Oct-20 7:49am View    
---------------------------------------------------------------------------------------
frmCoopReportviewer form;
//try
//{
form = new frmCoopReportviewer(affobjList);
//}
//catch (System.IO.FileNotFoundException ex)
//{
//InfoLogger.LogError(Constants.MX_EventLogSource, "Test", ex);
//using (var downloadForm = new frmReportVeiwerDownload())
//{
// downloadForm.ShowDialog();
// return;
//}
//}
form.ShowDialog();

Here i called Reportviewer by passing that object
Member 14769690 12-Oct-20 7:48am View    
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MBS.MKTN.Core.UI
{
public class CoopQuryObj
{
private string _AdvertiserName;
private string _ProductName;
private string _ISCILabel;
private string _Script;

public string Cart { get; set; }

public string CopyLength { get; set; }

public string AdvertiserName
{
get { return _AdvertiserName.Trim(); }
set { _AdvertiserName = value; }
}

public string ProductName
{
get { return _ProductName.Trim(); }
set { _ProductName = value; }
}

public string ISCILabel
{
get { return _ISCILabel.Trim(); }
set { _ISCILabel = value; }
}

public string StartDate { get; set; }

public string EndDate { get; set; }

public string Script
{
get { return _Script.Trim(); }
set { _Script = value; }
}
public string StartDates { get; set; }
public string EndDates { get; set; }
}

public class objQueryList
{
private List<coopquryobj> _Rows = new List<coopquryobj>();

public int Count
{
get { return _Rows.Count; }
}

public List<coopquryobj> Rows
{
get { return _Rows; }
}
}
}
Member 14769690 12-Oct-20 7:48am View    
yes its my Datasource