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
Wil
NA
1
0
hyperlinkfield text property returning null
Apr 9 2007 10:42 PM
I've a gridview which has Hyperlinkfield in Second Column, I'm trying to access the text property, but its returning null protected void GridView2_RowCommand(object sender, GridViewCommandEventArgs e) { int index = Convert.ToInt32(e.CommandArgument); GridViewRow selectedRow = ((GridView)e.CommandSource).Rows[index]; if (e.CommandName == "AddtoCart") { Response.Write(selectedRow.Cells[1].Text.ToString());//for testing of text value. } } if i'm change it to a Boundfield, it will not return a null but with the bounded data, but i need the hyperlinkfield to exist, how do i solve this?
Reply
Answers (
0
)
Creating a font property for a Custom Composite Control.
How to associate email with its corresponding reply??