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
Raja A
NA
26
68.5k
Textbox value cannot get from gridview. within submit button
Dec 24 2013 8:50 AM
I cannot get text box value within submit button.. I got null value.. Anyone help me..
protected void btnSubmit_Click(object sender, EventArgs e)
{
foreach (GridViewRow gridRow in GridView1.Rows)
{
TextBox serviceFee = (TextBox)gridRow.FindControl("txtServiceFee");
TextBox typingFee = (TextBox)gridRow.FindControl("txtTypingFee");
TextBox govermentFee = (TextBox)gridRow.FindControl("txtGovermentFee");
int customerTypeId = Convert.ToInt32(lbl.Text);
string sfee = Convert.ToString(serviceFee.Text);
Response.Write("sFee:"+sfee);
}
}
Reply
Answers (
2
)
web from tree view
Easiest way to export Gantt chart to pdf using c#