Reputation: 814
I added new DataRow
in my DataSet
like this:
if(ds.Tables["Report"].Rows.Count != 0)
{
DataRow row = ds.Tables["Report"].NewRow();
row["NAME"] = "Sum:";
row["NAME_RJ"] = String.Empty;
row["SUM1"] = sum1;
row["SUM2"] = sum2;
ds.Tables["Report"].Rows.Add(row);
}
Any idea how to bold this DataRow
?
Upvotes: 0
Views: 2020
Reputation: 6337
You can't do bold to DataRow
in DataTable
. You need to do this where you are binding DataTable
like GridViews
, DataLists
etc.
Upvotes: 4