Beispiel #1
0
        void loadinfo(string id)
        {
            DataTable dt = new DataTable();
            ClaimDAO  cl = new ClaimDAO();

            dt = cl.ClaimMaster(id);
            if (dt.Rows.Count > 0)
            {
                DataRow dr = dt.Rows[0];
                lblThamChieuHead.Text = dr[0].ToString();
                lblinsured.Text       = dr[1].ToString();
                txtbrief.Text         = dr[2].ToString();
            }
        }