simple DataGrid

  • 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

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.
 
Your post went unanswered. Have you resolved this issue?

--
Regards,
Alvin Bruney [ASP.NET MVP]
Got tidbits? Get it here...
http://tinyurl.com/3he3b
Katie said:
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?
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.
 
I think you have not checked the answers to the Q's.
It has been solved.

Alvin Bruney said:
Your post went unanswered. Have you resolved this issue?

--
Regards,
Alvin Bruney [ASP.NET MVP]
Got tidbits? Get it here...
http://tinyurl.com/3he3b
Katie said:
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?
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.
 
Back
Top