Vignesh Kumar

Vignesh Kumar

  • NA
  • 1k
  • 415.7k

Highlight Datarow in gridview

Mar 12 2014 6:14 AM
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; 
  } 
  }


Answers (3)