Results 1 to 2 of 2

Thread: DataGrid doesnt filter according to DataView

  1. #1

    Thread Starter
    Lively Member
    Join Date
    May 2005
    Posts
    106

    DataGrid doesnt filter according to DataView

    Why doesn't my datagrid filter / sort according to the Dataview below?
    Whichever expression i put in, it doesnt move.

    Datagrid's Datasource = dataview1
    Dataview's Table = dataset1.Table1

    -

    datadapter.Fill(dataset1)
    datadapter.Fill(dataset1)

    dataview1 = dataset1.Tables("Table1").DefaultView
    dataview1.RowFilter = "ID = 0"
    dataview1.Sort = "ID"

  2. #2

    Thread Starter
    Lively Member
    Join Date
    May 2005
    Posts
    106

    Re: DataGrid doesnt filter according to DataView

    i solved it, nvm

    i need to know how can i customised a dataview in a datagrid
    like swap the "field columns' etc, remove the gridlines, remove
    the most left grey col, left of first col.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width