예제 #1
0
 protected void RefreshGrid(bool rebind)
 {
     RadGrid1.DataSource = CntLainsaSci.GetAgenteExtintors(ctx);
     if (rebind)
     {
         RadGrid1.Rebind();
     }
 }
예제 #2
0
 protected void RefreshGrid(bool rebind)
 {
     if (Usuario == null)
     {
         RadGrid1.DataSource = CntLainsaSci.GetAgenteExtintors(ctx);
     }
     else
     {
         RadGrid1.DataSource = CntLainsaSci.GetAgenteExtintors(Usuario, ctx);
     }
     if (rebind)
     {
         RadGrid1.Rebind();
     }
 }