K
kakss
Hi
I have a Winforms Datagrid and created myDataView and bind to datagrid.
It works great.
DataGrid1.SetDataBinding(myDataView, "")
Above code line shows me below data in datagrid.
CustomerID CustomerName City
------------------------------------
001 AAA Company NY
002 DDD Company FL
003 CCC Company NY
004 PPP Company FL
------------------------------------
There is a requirement when showing the grid data, I need to show as
below.
CustomerID CustomerName City
------------------------------------
001 AAA Company New York
002 DDD Company Florida
003 CCC Company New York
004 PPP Company Florida
------------------------------------
What I mean is i have to show 'City' datagrid column with 'NY'=New York
and 'FL'=Florida in datagrid
Waiting for your reply.
Thanks in advance
I have a Winforms Datagrid and created myDataView and bind to datagrid.
It works great.
DataGrid1.SetDataBinding(myDataView, "")
Above code line shows me below data in datagrid.
CustomerID CustomerName City
------------------------------------
001 AAA Company NY
002 DDD Company FL
003 CCC Company NY
004 PPP Company FL
------------------------------------
There is a requirement when showing the grid data, I need to show as
below.
CustomerID CustomerName City
------------------------------------
001 AAA Company New York
002 DDD Company Florida
003 CCC Company New York
004 PPP Company Florida
------------------------------------
What I mean is i have to show 'City' datagrid column with 'NY'=New York
and 'FL'=Florida in datagrid
Waiting for your reply.
Thanks in advance