示例#1
0
 private void txtIrPag_KeyPress(object sender, KeyPressEventArgs e)
 {
     if (char.IsNumber(e.KeyChar))
     {
         CrystalReportViewer1.ShowNthPage(Convert.ToInt32(txtIrPag.Text));
     }
     else
     {
         MessageBox.Show("Solo se Admite Numeros En este Capo");
         e.Handled = true;
     }
 }
示例#2
0
 protected void btnNavigation_Click(object sender, ImageClickEventArgs e)
 {
     CrystalReportViewer1.ShowNthPage(Convert.ToInt32(txtPageNo.Text));
 }