I have a GridView which i programmatically bind using c# code.
The problem is, the columns get their header texts directly from Database, which can look odd when presented on websites. So basically, i would like to modify the column header text, but programmatically.
i have already tried the following,
testGV.Columns[0].HeaderText = "Date";
and
this.testGV.Columns[0].HeaderText = "Date";
does not seem to give me correct result.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…