public DataTable ObtenerCuenta(int?p_id) { BDAtroxDataSet.SPObtenerCuentaDataTable DT = new BDAtroxDataSet.SPObtenerCuentaDataTable(); BDAtroxDataSetTableAdapters.SPObtenerCuentaTableAdapter TA = new BDAtroxDataSetTableAdapters.SPObtenerCuentaTableAdapter(); TA.Fill(DT, p_id); if (DT.Rows.Count > 0) { return(DT); } else { return(null); } }
public DataTable ObtenerCuenta(int? p_id) { BDAtroxDataSet.SPObtenerCuentaDataTable DT = new BDAtroxDataSet.SPObtenerCuentaDataTable(); BDAtroxDataSetTableAdapters.SPObtenerCuentaTableAdapter TA = new BDAtroxDataSetTableAdapters.SPObtenerCuentaTableAdapter(); TA.Fill(DT, p_id); if (DT.Rows.Count > 0) { return DT; } else { return null; } }