Click here to Skip to main content
15,666,844 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using BhavansFMS.Cancel_ReportTableAdapters;

namespace BhavansFMS
    public partial class Cancel_Admission_Report : Form
        public Cancel_Admission_Report()

        private void button1_Click(object sender, EventArgs e)
            Cancel_Admission_Report car = new Cancel_Admission_Report();
            Cancel_Report ds = new Cancel_Report();
            CANCEL_STUDENT_RECORDSTableAdapter ctr = new CANCEL_STUDENT_RECORDSTableAdapter();
            crystalReportViewer1.ReportSource = car;


        private void SetDataSource(Cancel_Report ds)
            throw new NotImplementedException();(The method or operation is not implemented.)


Updated 4-May-14 20:21pm
[no name] 5-May-14 3:56am    
What error you are getting............
Member 10794814 5-May-14 6:56am    
the method or operation is not implemented
DamithSL 7-May-14 8:38am    
what is Cancel_Admission_Report? is that crystal report?

In button1_click event when you call setdatasource method the method throws a notimplementedexception thats why ur getting that exception
Share this answer
Member 10794814 5-May-14 12:32pm    
Sir then what is solution for this ??
trying adding code in SetDataSource() in the method instead of throw new
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900