Welcome Guest Search | Active Topics | Sign In | Register

set Grid's column headerText from server side Options
Luke
Posted: Thursday, August 18, 2011 2:35:51 PM
Rank: Advanced Member
Groups: Member

Joined: 11/2/2010
Posts: 38
Hi Sirs:

Can I set Grid's column headerText from server side, like:

Grid1.Columns(0).HeaderText = "A"
Grid1.Columns(1).HeaderText = "B"
Grid1.Columns(2).HeaderText = "C"
Grid1.Columns(3).HeaderText = "D"
Grid1.Columns(4).HeaderText = "E"

but, what I got was all the column's header text are "E"

Would you help, Thanks
eo_support
Posted: Thursday, August 18, 2011 2:45:44 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

The code you posted is correct. This got to be your code error somewhere else.

Thanks


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.