Hide DataGrid Row

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

How can I hide a datagrid row or set it's width to zero. I need to filter
the grid and and show only rows with selected data.

Steve
 
Steve said:
How can I hide a datagrid row or set it's width to zero. I need to
filter the grid and and show only rows with selected data.

Steve

It is more a ADO.NET question, but I think you'll have to filter the
datasource, not the grid.

If you are using a DataSet, take a look at Select method of the
DataTable or the RowFilter in a DataView.
 
Yes I was afraid of that. I think the easist thing to do is add a filtered
table to the dataset or something like that Thanks Erick
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top