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
Jennifer Macwan
NA
5
0
How to store new records in new row of a datatable while retaining old values?
May 23 2010 10:53 AM
I have Desktop.aspx page with Gridview1 and Detailsview1 controls. My requirement is, if I click on a button in Detailsview1, that particular product name and it's price should be stored in a datatable which is bound to GridView2. So far, I am successful in accomplishing this. However, if I click on another product , a new row is inserted in Datatable, but it shows the first added record and not the recent one. I have stored datatable object in session. My source code is as follows:
Reply
Answers (
1
)
rs 232 communication
storing new record in a new row of datatable while retaining old values