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
bryan 0
NA
9
0
Updating a textbox in a Repeater
May 19 2005 1:29 AM
I created a repeater to display my data inside a dataTable of Session("Cart") however i have a problem. I do not know how to to update the Quantity displayed in a txtQuantity. How do i code a 'btnUpdate' so that it will read the txtQuantity and update each row of item's quantity according to the txtQuantity.Text. The code should update to the datatable and display on updated value on the txtQuantity after button has been clicked, this is my code for the display of shopping cart items in a repeater.
<%# Container.DataItem("Product") %>
td><%# Container.DataItem("Code") %>
<%# Double.Parse(Container.DataItem("Cost")).ToString("C") %>
Remove
Header Codes: Dim dtCart As DataTable Dim drCart As DataRow dtCart = Session("Cart") viewCart.DataSource = dtCart.DefaultView viewCart.DataBind()
Reply
Answers (
0
)
Messages Boxes
Crystal Reports > Using Images???