UltraGridRowsEnumerator cusEnumerator;
        UltraGridRow objRow;
        cusEnumerator = this.cusList.Bands[0].GetRowsEnumerator();
        --- cusEnumerator = this.cusList.Bands[0].GetBatchUpdates();//바로수정
        while (cusEnumerator.MoveNext() == true)
        {
            objRow = cusEnumerator.Current;
            Hashtable htParam2 = new Hashtable();
            htParam2["ONE"] = objRow.Cells[0].Value.ToString().Trim();
            htParam2["TWO"] = objRow.Cells[1].Value.ToString().Trim();
            --쿼리문실행
        }

Hashtable의 값을 받아서 쿼리문을 실행하면되겠다. Row의 여러값들을 수정시 새로 Insert시킨다.

이올린에 북마크하기(0) 이올린에 추천하기(0)

'programming > UltraWebGrid' 카테고리의 다른 글

UltraWebGrid 수정버튼 클릭시 수정  (0) 2008/07/01
UltraWebGrid Row수정  (0) 2008/07/01
UltraWebGrid 컬럼 중복값 합치기  (2) 2008/05/31
UltraDateChooser mm/yyyy  (0) 2008/05/31
UltraWebGrid DropDownList 추가  (0) 2008/05/28

Posted by rails.

Leave your greetings here.

« Previous : 1 : 2 : 3 : 4 : 5 : ... 360 : Next »