I am bulding a rent a car system. But when I pass processing for report (using reportviwer) It's giving this error:
I am trying to understand what happen. But not very well. Why? Just because when I create a new project trying to make a report its working very well even with on the msaccess database I use into the real project I am doing as I spoke on top.
Please see what I saw buggs in my rptAmortizacoesviaturas.Designer.cs:
namespace Entrada
{
partial class rptAmortizacoesviaturas
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
Microsoft.Reporting.WinForms.ReportDataSource reportDataSource1 = new Microsoft.Reporting.WinForms.ReportDataSource();
this.reportViewer1 = new Microsoft.Reporting.WinForms.ReportViewer();
this.DataSet1 = new Entrada.DataSet1();//here a bugg
this.AmortizacoesViaturasBindingSource = new System.Windows.Forms.BindingSource(this.components);
this.AmortizacoesViaturasTableAdapter = new Entrada.DataSet1TableAdapters.AmortizacoesViaturasTableAdapter();//here a bugg
((System.ComponentModel.ISupportInitialize)(this.DataSet1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.AmortizacoesViaturasBindingSource)).BeginInit();
this.SuspendLayout();
//
// reportViewer1
//
reportDataSource1.Name = "DataSet1";
reportDataSource1.Value = this.AmortizacoesViaturasBindingSource;
this.reportViewer1.LocalReport.DataSources.Add(reportDataSource1);
this.reportViewer1.LocalReport.ReportEmbeddedResource = "Entrada.Report1.rdlc";
this.reportViewer1.Location = new System.Drawing.Point(12, 28);
this.reportViewer1.Name = "reportViewer1";
this.reportViewer1.Size = new System.Drawing.Size(686, 332);
this.reportViewer1.TabIndex = 0;
//
// DataSet1
//
this.DataSet1.DataSetName = "DataSet1";
this.DataSet1.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
//
// AmortizacoesViaturasBindingSource
//
this.AmortizacoesViaturasBindingSource.DataMember = "AmortizacoesViaturas";
this.AmortizacoesViaturasBindingSource.DataSource = this.DataSet1;
//
// AmortizacoesViaturasTableAdapter
//
this.AmortizacoesViaturasTableAdapter.ClearBeforeFill = true;
//
// rptAmortizacoesviaturas
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(747, 387);
this.Controls.Add(this.reportViewer1);
this.Name = "rptAmortizacoesviaturas";
this.Text = "rptAmortizacoesviaturas";
this.Load += new System.EventHandler(this.rptAmortizacoesviaturas_Load);
((System.ComponentModel.ISupportInitialize)(this.DataSet1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.AmortizacoesViaturasBindingSource)).EndInit();
this.ResumeLayout(false);
}
#endregion
private Microsoft.Reporting.WinForms.ReportViewer reportViewer1;
private System.Windows.Forms.BindingSource AmortizacoesViaturasBindingSource;
private DataSet1 DataSet1;
private DataSet1TableAdapters.AmortizacoesViaturasTableAdapter AmortizacoesViaturasTableAdapter;
}
}