public frmPagamento(InfoPag inf) { Info = inf; InitializeComponent(); dt_ano.DataSource = bd.Select(string.Format("SELECT COUNT(Ano) as mensalidades,[ANO]FROM [tbl_Mes] where id_Cliente = {0} group by Ano", Info.Id_cliente)); }
public FormMensalidade(Pagamento.InfoPag Inf, DataTable men, DataTable his) { Info = Inf; Tbl_Mensalidade = men; Tbl_Historico = his; InitializeComponent(); listaMensalidade(); this.cbMes.SelectedIndex = System.Convert.ToInt32(System.DateTime.Now.Month.ToString()) - 1; this.cbPagamento.SelectedIndex = 0; }
public PesquisaAluno() { Info = new InfoPag(); InitializeComponent(); lbalunos.RowHeadersVisible = false; }