예제 #1
0
        private void initDataforbus()
        {
            BillBLL billBLL = new BillBLL();

            cbbiletaa.DataSource    = billBLL.GetALl();
            cbbiletaa.DisplayMember = "Cmimi";
            cbbiletaa.ValueMember   = "billid";
            cbbiletaa.SelectedIndex = -1;
        }
예제 #2
0
        private void Form1_Load(object sender, EventArgs e)
        {
            BillBLL billBLL = new BillBLL();
            BusBLL  bus     = new BusBLL();

            initDataforbus();
            dgvbus.DataSource    = bus.GetALl();
            dgvbileta.DataSource = billBLL.GetALl();
        }
예제 #3
0
 public Billmanagment()
 {
     InitializeComponent();
     datagridviewbill.DataSource = billBLL.GetALl();
 }