private void button2_Click(object sender, EventArgs e)
        {
            if (txtSupCode.Text == "")
            {
                errorProvider1.SetError(txtSupCode, "Enter Supplier Code");
            }
            string    sup = txtSupCode.Text;
            string    newSup;
            DataTable dt = myReports.getSelectSupplierDetails(newSup = sup.PadLeft(5, '0'), FromDate.Text.ToString(), ToDate.Text.ToString());

            dt.TableName = "GreanLeaf";
            dt.WriteXml("SupGreanLeaf.xml");
            SupplierGreenLeafRPT myaclist = new SupplierGreenLeafRPT();

            myaclist.SetDataSource(dt);
            crystalReport.ReportSource = myaclist;
            crystalReport.Show();
            txtSupCode.Focus();
        }