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
shibasankar behera
NA
117
100.8k
get tex box value inside gridview
Oct 4 2013 6:22 AM
I have placed GridView1 inside a panel in .aspx file.
here is my code behind...
foreach (GridViewRow gvrC in GridView1.Rows)
{
if (gvrC.Visible)
{
for (int x = 2; x < GridView1.Columns.Count; x++)
{
foreach (Control cc in gvrC.Cells[x].Controls)
{
string str = ((TextBox)cc).Text;
//my code here. I want to display textbox value
}
}
}
}
but it is not entering the 2nd foreach() loop.
plz give me the solution.
Thank You.
Reply
Answers (
8
)
how to match domain url using regex vb.net
how to lock excle file cells in C#