DataGrid problem

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

Guest

Hi

If I add a row to a dataset which is bound to a datagrid, how can I change the backgrond color and text font etc of everything in that row of the datagrid

DataRow BlankRow = ds.Tables[0].NewRow( )
BlankRow[ "Commission" ] = String.Format("{0:c}", totalCommission.ToString())
DataView source = new DataView(ds.Tables[0])
ResultsDataGrid.DataSource = source

Thanks, Katie.
 
Hi Katie,

Some links,

Faqs
http://www.syncfusion.com/FAQ/WinForms/FAQ_c44c.asp

http://msdn.microsoft.com/library/d...ry/en-us/dnwinforms/html/wnf_CustDataGrid.asp

Cor
If I add a row to a dataset which is bound to a datagrid, how can I change
the backgrond color and text font etc of everything in that row of the
datagrid?
DataRow BlankRow = ds.Tables[0].NewRow( );
BlankRow[ "Commission" ] = String.Format("{0:c}", totalCommission.ToString());
DataView source = new DataView(ds.Tables[0]);
ResultsDataGrid.DataSource = source ;
 
Back
Top