G Guest Aug 8, 2005 #1 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
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
E Erick Sasse Aug 8, 2005 #2 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 Click to expand... 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.
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 Click to expand... 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.
G Guest Aug 8, 2005 #3 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
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