public DataTable ObtenerTipoComprobante(int p_id) { BDAtroxDataSet.SPObtenerTipoComprobanteDataTable DT = new BDAtroxDataSet.SPObtenerTipoComprobanteDataTable(); BDAtroxDataSetTableAdapters.SPObtenerTipoComprobanteTableAdapter TA = new BDAtroxDataSetTableAdapters.SPObtenerTipoComprobanteTableAdapter(); TA.Fill(DT, p_id); if (DT.Rows.Count > 0) { return(DT); } else { return(null); } }
public DataTable ObtenerTipoComprobante(int p_id) { BDAtroxDataSet.SPObtenerTipoComprobanteDataTable DT = new BDAtroxDataSet.SPObtenerTipoComprobanteDataTable(); BDAtroxDataSetTableAdapters.SPObtenerTipoComprobanteTableAdapter TA = new BDAtroxDataSetTableAdapters.SPObtenerTipoComprobanteTableAdapter(); TA.Fill(DT, p_id); if (DT.Rows.Count > 0) { return DT; } else { return null; } }