Re: Selecting records from DataTable?



Job,

You can use for that a
datatable.select 'this is not an SQL query
That returns a collection of datarows

Or a
datatable.defaultview.rowfilter = "score > 0"

the datatable.defaultview you can bind than directly to a datasource.
datagrid.datasource = datatable.defaultview

I hope this helps,

Cor


.



Relevant Pages

  • Re: Datagrid source= datarow array
    ... What I'm using is the GetChildRows method which returns an array of datarows. ... How do I get those rows into an empty table and then bind to my datagrid? ... > view the dataview which are make it so simple to select the proper columns ...
    (microsoft.public.dotnet.general)
  • bind variable
    ... I have a visual basic application that uses a sql query that uses bind ... variables to extract a result. ... " as maxexport from ...
    (comp.databases.oracle.server)
  • Re: Datagrid source= datarow array
    ... Just clone the original table and add the datarows to that by looping ... Cor ... > How do I get those rows into an empty table and then bind to my datagrid? ... columnstyles. ...
    (microsoft.public.dotnet.general)
  • RE: Adding check list box inside master detail web grid
    ... array of datarows. ... I read that we can't bind a ... datarowto a datagrid. ...
    (microsoft.public.dotnet.framework.aspnet.webcontrols)