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
Bineesh Viswanath
NA
1k
777.3k
GridView Cell value cannot fetch
Jun 17 2016 7:56 AM
Sir,
I am in a ASP.NET project. I stuck in code piece to fetch GridView cell value into a variable. Data being fetched from database in page load(if !PostBack). then all cell value become null when come to the RowCommand event. why that happening?
Here the code:-
int
EmpID =
C
onvert
.
ToInt32(((
GridViewRow
)(((LinkButton)e.CommandSource).NamingContainer)).Cells[1].Text);
Reply
Answers (
2
)
How to bind data in gridview using outlook mails
Rotativa pdf doesn't work when published to Azure Server