Esempio n. 1
0
 public DataTable ListarMovimientosPorIdTipoMov(int IdTipoMov)
 {
     BDAtroxDataSet.SPListarMovimientosDataTable DT = new BDAtroxDataSet.SPListarMovimientosDataTable();
     BDAtroxDataSetTableAdapters.SPListarMovimientosTableAdapter TA = new BDAtroxDataSetTableAdapters.SPListarMovimientosTableAdapter();
     TA.Fill(DT, IdTipoMov);
     if (DT.Rows.Count > 0)
     {
         return(DT);
     }
     else
     {
         return(null);
     }
 }
Esempio n. 2
0
 public DataTable ListarMovimientosPorIdTipoMov(int IdTipoMov) 
 {
     BDAtroxDataSet.SPListarMovimientosDataTable DT = new BDAtroxDataSet.SPListarMovimientosDataTable();
     BDAtroxDataSetTableAdapters.SPListarMovimientosTableAdapter TA = new BDAtroxDataSetTableAdapters.SPListarMovimientosTableAdapter();
     TA.Fill(DT, IdTipoMov);
     if (DT.Rows.Count > 0)
     {
         return DT;
     }
     else 
     {
         return null;
     }
 }