You have a problem here (i think)... Using DataGrid means that you have a
database (table) connected. So... or you remove data from database or insert
a filter into database.
Another way to resolve this.... try to build a UserControl using ListView to
grab all data you want and to have full control of data and look.
Miguel Angelo Carranca
Thnaks Miguel, but I can´t do it.
My datagrid have many formats (cell colours) that I can have on DataTable.
If I remove a row from a DataTable, when I do a DataBinding, I lost my
formats.
How can I only remove a row ?
> You have a problem here (i think)... Using DataGrid means that you have a
> database (table) connected. So... or you remove data from database or insert
[quoted text clipped - 6 lines]
>
> > How can I remove a row from a datagrid ?
Miguel Carranca (Hotmail) - 14 Nov 2003 11:41 GMT
Hi,
OK...
So the only solution is: create you own DataGrid control, based on ListView
or on DataGrid, using OnPaint event to control row visiblility.
The other solution.... pay for a new DataGrid from 3th party manuf. :)
PS: if you need help to create a DataGrid or something else, write me at
mcarranca@hotmail.com
Miguel Angelo Carranca
> Thnaks Miguel, but I can´t do it.
> My datagrid have many formats (cell colours) that I can have on DataTable.
[quoted text clipped - 15 lines]
> >
> > > How can I remove a row from a datagrid ?
COntaIS - 14 Nov 2003 17:09 GMT
Eureca !
datagrid.Item[x].Visible = false;
Thanks !
> Hi,
>
[quoted text clipped - 32 lines]
> > >
> > > > How can I remove a row from a datagrid ?