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
Rocky Rocky
NA
317
152.1k
Problem was in blank text in c# doing edit from gridview?
Aug 22 2013 6:08 AM
Hai Friends,
i ve the application like
departure date=textbox
No.of.days = textbox
Lodge = textbox (created on event for validation)
Food Bill = textbox
Daily Claim =textbox
other Bills = textbox
add(after press these Button entire details ll show gridview)
Update (Button)
Grdview
departuredate no.of.days lodge food bill dailyclaim otherBills details
edit
here the problem is when i choose "EDIT" from gridview details cum above textbox perfectly sum columns are NULL means after edit it contains "&nsbp;" like that please refer attachment.
and one more problem
i need the validation when ppl choose Lodge & food Bill
Daily claim is on read only.(daily claim choosed means Lodge & Food Bill read only)
i made the code like that
protected void TxtLdg_TextChanged(object sender, EventArgs e)
{
if ((TxtLdg.Text.Length >= 1) )
{
TxtFdAl.ReadOnly = true;
}
else if ((TxtFdAl.Text.Length >= 1))
{
TxtLdg.ReadOnly = true;
TxtFoAl.ReadOnly = true;
}
else
{
TxtFdAl.ReadOnly = false;
TxtLdg.ReadOnly = false;
TxtFoAl.ReadOnly = false;
}
}
if i choose Daily allowance directly then choose " other Bills " means Lodge and FoodBill on read only,before choosed "other Bills" i entered value on lodge and food with Daily claim means ll taken that?
how to short out 2 problems?
Reply
Answers (
5
)
sendmail trew asp.net
how to search data without sql query in windows form?