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;
}
}
Loading
Keyur PatelPosted Mar 12, 2014, 9:18 AM
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
Vignesh KumarPosted Mar 12, 2014, 6:25 AM
Lakshmanan Sethu SankaranarayanPosted Mar 12, 2014, 6:20 AM