TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Raul Juarez
NA
43
0
Edit GridView Header or hide column
Nov 17 2009 8:21 PM
Hi need some help to Change column header and hide a column in Gridview. This: (grdVendors.Columns[1].HeaderText= "test"; ) doesn't work. Please see the image (
http://www.vengalia.com/HIDEANDRENAMEHEADER.jpg
) to see what DataSource contains.
CODE:
protected
void
drpSearchBy_SelectedIndexChanged(
object
sender,
EventArgs
e)
{
int
placesID =
Convert
.ToInt32(drpSearchBy.SelectedValue.Trim());
VendorCollection
places =
VendorCollection
.GetbyPlaceID(placesID);grdVendors.DataSource = places;
//grdVendors.Columns[1].HeaderText= "test";
grdVendors.DataBind();
}
Thanks for any help.
Raul
Reply
Answers (
9
)
Regarding ISDN
How to download emails from exchange server using C#.net