DataView??

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • perspolis

    DataView??

    Hi all
    I bound a datagrid to a DataTable.
    I want to filter some rows of this table without using of DataView or
    DefualtView..
    Is it possible to do that??


  • Angrez Singh

    #2
    Re: DataView??

    Hi,
    The other way around is to filter the rows in the select query itself.

    Regards,
    Angrez

    Comment

    • perspolis

      #3
      Re: DataView??

      I want to filter thw rows and show them in same datagrid..

      "Angrez Singh" <angrez_ait@ind iatimes.com> wrote in message
      news:1114446544 .117597.12570@l 41g2000cwc.goog legroups.com...[color=blue]
      > Hi,
      > The other way around is to filter the rows in the select query itself.
      >
      > Regards,
      > Angrez
      >[/color]


      Comment

      • The Crow

        #4
        Re: DataView??

        if u bind a table to grid directly (not a view of it), behind the scenes,
        its default view will be bound. so, if you want to apply a filter without
        using view object, you can manually remove all rows u dont want, and bind it
        to grid. but why dont u use view object?


        Comment

        • perspolis

          #5
          Re: DataView??

          because I used 2 tables one master and another details..
          when user want to filter the master with it's Code,I want to show him just
          that row ..
          "The Crow" <q> wrote in message
          news:enbPefbSFH A.2964@TK2MSFTN GP15.phx.gbl...[color=blue]
          > if u bind a table to grid directly (not a view of it), behind the scenes,
          > its default view will be bound. so, if you want to apply a filter without
          > using view object, you can manually remove all rows u dont want, and bind[/color]
          it[color=blue]
          > to grid. but why dont u use view object?
          >
          >[/color]


          Comment

          Working...