Example #1
0
        //xuất danh sách bệnh nhân ra excels tên benhnhan.xls
        private void tbxembttxuadanhsachbenhnhan_Click(object sender, EventArgs e)
        {
            UDQLDataContext ql = new UDQLDataContext();

            ql.cau20();
            OpenFileDialog chuc = new OpenFileDialog(); // new thư mục

            chuc.InitialDirectory = @"C:\";             // hiển thị ổ đĩa
            chuc.ShowDialog();                          // Hiển thị file
        }