Tech Off Post

Single Post Permalink

View Thread: DataView Object
  • User profile image
    blowdart

    r_taduri wrote:
    absolutely, i neet to fetch correct one


    Ah I see, and this is the delete code?

                Dim resultStr As String = ""
                Dim drs As DataRow()
                Dim dr As DataRow
                Dim tempDt As DataTable = Me.Page.Session(Me.ID)
                drs = tempDt.Select("Remove=True")
                For Each dr In drs
                    resultStr = resultStr & CStr(dr(0)) & ","
                Next dr
                If resultStr <> "" Then resultStr = Left(resultStr, resultStr.Length - 1)
                GetRemoveList = resultStr

    But it's going through the table, not the view ....