コード例 #1
0
 protected void btnprintmaster_Click(object sender, EventArgs e)
 {
     try
     {
         string degreedetails = "Bank Wise Deposit";
         string pagename      = "BankWise_Deposit.aspx";
         Printcontrolhed.loadspreaddetails(Fpspread1, pagename, degreedetails);
         Printcontrolhed.Visible = true;
         // lblvalidation1.Visible = false;
     }
     catch
     {
     }
 }
コード例 #2
0
 public void btnprintmaster_Click(object sender, EventArgs e)
 {
     try
     {
         lblvalidation1.Text = "";
         string degreedetails = "";
         string pagename      = "";
         degreedetails = "Leave Settings Report";
         pagename      = "LeaveApplySettings.aspx";
         Printcontrolhed.loadspreaddetails(fpreport, pagename, degreedetails);
         Printcontrolhed.Visible = true;
     }
     catch { }
 }
コード例 #3
0
 public void btnprintmaster_Click(object sender, EventArgs e)
 {
     try
     {
         lblvalidation1.Text = "";
         txtexcelname.Text   = "";
         string degreedetails;
         string pagename;
         degreedetails = "Degree Priority";
         pagename      = "DepartmentVissionMission.aspx";
         Printcontrolhed.loadspreaddetails(FpSpread1, pagename, degreedetails);
         Printcontrolhed.Visible = true;
     }
     catch { }
 }
コード例 #4
0
 public void btnprintmaster_Click(object sender, EventArgs e)
 {
     try
     {
         lblvalidation1.Text = "";
         txtexcelname.Text   = "";
         string degreedetails;
         string pagename;
         degreedetails = "Challan No Report";
         pagename      = "ChallanNoChange.aspx";
         Printcontrolhed.loadspreaddetails(FpSpreadbase, pagename, degreedetails);
         Printcontrolhed.Visible = true;
     }
     catch { }
 }
コード例 #5
0
 public void btnprintmaster_Click(object sender, EventArgs e)
 {
     try
     {
         lblvalidation1.Text = "";
         txtexcelname.Text   = "";
         string degreedetails;
         string pagename;
         degreedetails = "Student Alumni  Report";
         //+ '@' + " Date   : " + txt_fromdate.Text + " To " + txt_todate.Text + "";
         pagename = "Alumni1.aspx";
         Printcontrolhed.loadspreaddetails(spreadDet, pagename, degreedetails);
         Printcontrolhed.Visible = true;
     }
     catch { }
 }
コード例 #6
0
 public void btnprintmaster_Click(object sender, EventArgs e)
 {
     try
     {
         // lblvalidation1.Text = "";
         string clgAcr = dirAcc.selectScalarString("select Coll_Acronymn from collInfo where college_code='" + ddlcollege.SelectedValue.ToString() + "'");
         txtexcelname.Text = "";
         string degreedetails;
         string pagename;
         // degreedetails = "Headerwise Collection Report\n" + clgAcr + "\n Date   : " + txt_fromdate.Text + " To " + txt_todate.Text + "";
         degreedetails = "Re-Admission Report \n" + clgAcr + '@' + " Date   : " + txtfromdate.Text + " To " + txttodate.Text + "" + '@' + "Current Date : " + DateTime.Now.ToString("dd/MM/yyyy") + '@';
         pagename      = "ReAdmissionProcess.aspx";
         Printcontrolhed.loadspreaddetails(FpSpread1, pagename, degreedetails, 0, Convert.ToString(Session["usercode"]));
         Printcontrolhed.Visible = true;
     }
     catch { }
 }
コード例 #7
0
 protected void btn_print_Click(object sender, EventArgs e)
 {
     try
     {
         //lblvalidation1.Text = "";
         string clgAcr = dirAcc.selectScalarString("select Coll_Acronymn from collInfo where college_code='" + ddlcollege.SelectedValue.ToString() + "'");
         //string updateqry = "update TextValTable set TextVal='0' where TextCriteria='PMS' and college_code='" + ddlcollege.SelectedValue.ToString() + "'";
         //int i = dirAcc.updateData(updateqry);
         // txtexcelname.Text = "";
         string degreedetails;
         string pagename;
         degreedetails = "ReAdmissionProcess Report\n" + clgAcr + '@' + " Date   : " + txtfromdate.Text + " To " + txttodate.Text + "" + '@' + "Current Date : " + DateTime.Now.ToString("dd/MM/yyyy");
         pagename      = "ReAdmissionProcess.aspx";
         Printcontrolhed.loadspreaddetails(FpSpread1, pagename, degreedetails, 1, Convert.ToString(Session["usercode"]));
         Printcontrolhed.Visible = true;
     }
     catch { }
 }
コード例 #8
0
    public void btnprintmaster_Click(object sender, EventArgs e)
    {
        try
        {
            // lblvalidation1.Text = "";
            string clgAcr = getclgAcr(Convert.ToString(getCblSelectedValue(cblclg)));
            //   string counterName = getCounterName(Convert.ToString(getCblSelectedValue(cbluser)));


            string degreedetails;
            string pagename;
            // degreedetails = "Headerwise Collection Report\n" + clgAcr + "\n Date   : " + txt_fromdate.Text + " To " + txt_todate.Text + "";
            degreedetails = "Individual Student Daybook Report\n" + clgAcr + '@' + " Date   : " + txt_fromdate.Text + " To " + txt_todate.Text + "" + '@' + "Current Date : " + DateTime.Now.ToString("dd/MM/yyyy");
            //  degreedetails = "Individual Student Daybook Report\n" + clgAcr + '@' + " Date   : " + txt_fromdate.Text + " To " + txt_todate.Text + "" + '@' + "User/Counter : " + counterName;
            pagename = "ExtensionReport.aspx";
            string ss = null;
            Printcontrolhed.loadspreaddetails(GridExtentionRpt, pagename, degreedetails, 0, ss);
            //Printcontrolhed.loadspreaddetails(spreadDet, pagename, degreedetails, 0, Convert.ToString(Session["usercode"]));
            Printcontrolhed.Visible = true;
        }
        catch { }
    }