Esempio n. 1
0
        private void PatientinfolinkLabel_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
        {
            pdataGridView.DataSource = null;
            pdataGridView.Rows.Clear();
            List <Patient> plist = da.patientdatagrid();

            foreach (var item in plist)
            {
                pdataGridView.Rows.Add(item.Name, item.Contactno, item.Status, item.RoomNo, "details", "edit", "checkout", item.id);
            }
            pinfopanel.Visible = true;
        }