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
sachi vasishta
NA
252
0
value not changing
Nov 14 2009 3:06 AM
Hi,
In a webform I have two textBoxes. In a formload event I will retrieve some data from db and will assign it to textboxes as below
textBox1.Text=dr.getValue(0).ToString(); (Sachi)
textBox2.Text=dr.getValue(1).ToString(); (Vasista)
Now in a button click event I will make some correction in the same textbox and I will asign those values to two string variables as below
string Fname=textBox1.Text.ToString(); (Sachin)
string Lname=textBox2.Text .ToString(); (Vasishta)
but when I checked the values of these 2 string variables using breakpoint the values were not changed, it was showing the old values which were retrieved from the db.
Thanks
Reply
Answers (
2
)
resize the image size and image resolution and save in to database in asp.net using c#
how to generate random ID for primary key in sql server 2005?