Hi,
How can I highlight the datarow dr values to bold in my gridview.
DataRow dr = dtReport.NewRow();
dr["Total"] = Convert.ToDecimal(dt.Rows[0][0].ToString());
dtReport.Rows.Add(dr);
protected void Finance_RowDataBound(object sender, GridViewRowEventArgs e)
{
if (e.Row.RowType == DataControlRowType.DataRow)
{
DataRow dr = ((DataRowView)e.Row.DataItem).Row;
}
}
Highlight Datarow in gridview
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Lakshmanan Sethu SankaranarayanRank #124 · 17.7K reputationPosted Mar 12, 2014, 2:20 AM EDT
Vignesh KumarRank #1,579 · 1K reputationPosted Mar 12, 2014, 2:25 AM EDT
Keyur PatelRank #1,216 · 1.5K reputationPosted Mar 12, 2014, 5:18 AM EDT
You can apply datarow to bold in your gridview.
You can also do by using Jquery like same as in following sample link.
http://www.jeasyui.com/tutorial/datagrid/datagrid18.php