예제 #1
0
        void LoadDR()
        {
            DataTable dt = new DataTable();

            dt = cldao.DSCaseName();
            if (dt.Rows.Count > 0)
            {
                drDSCase.DataSource     = dt;
                drDSCase.DataTextField  = "Name";
                drDSCase.DataValueField = "ID_Claim";
                drDSCase.DataBind();
            }
        }