Tech Off Post

Single Post Permalink

View Thread: DataView Object
  • User profile image
    blowdart

    r_taduri wrote:
    Hi Friends,
    dim dv as dataview
    dv=mybase.datasource  
    dim tempdt as datatable=dv.table

    By using dv.table, I am getting all the rows, but I want to get only filtered rows.



    You don't need to go into the table, simply bind to the view once you have set a suitable filter. The gotdotnet site has a good sample.