コード例 #1
0
 private void guimail_Load(object sender, EventArgs e)
 {
     using (quanlithucungEntities1 thucung = new quanlithucungEntities1())
     {
         comboBox1.DisplayMember = "TenUD";
         comboBox1.ValueMember   = "MaUD";
         comboBox1.DataSource    = thucung.selectalluudai();
     }
 }