Hi all
My problem related with grid view heading settings
iam not binding datatable to gridview.instead binding each coloum after proper calculation everything working fine
my issue is how to give double heading.my code going on like this
DataTable dt = new DataTable();
DataTable dttype = objtype.GetGridRecords();
if (dttype.Rows.Count > 0)
{
for (int i = 0; i < dttype.Rows.Count; i++)
{
//* set colums of table by payroll types *//
dt.Columns.Add("B_"+dttype.Rows[i]["ShortName"].ToString());
}
}
binding row to it by another looping
in run time heading appears as
B_BP,B_DA,B_MRA....
i want a row above it by mergin all this named 'before LOP' just like below
' before LOP
B_BP,B_DA,B_MRA
which merges all the fields above items with B_..
Thanks in Advance