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" <anonymous@.discussions.microsoft.com> wrote in message
news:163E7BD8-4B7C-4266-BDDC-038E5B5C989F@.microsoft.com...
> 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.
0 comments:
Post a Comment