Tech
Forums
Jobs
Books
Events
Videos
Conference
Annual Conference
Bcrypt
Ai Conference
Live
More
Interviews
Certification
Training
Career
Members
News
Blogs
Contribute
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
6
Answers
Problem in multplying two columns in gridview in aspnet
Ask a question
Ask a question
Upload Source Code:
Select only zip and rar file.
Sivajihero Hero
9y
425
1
Reply
I have a gridview for my web application in which there is quantity and unit price column and total column. If I type quantity and unit price then I want to display the total price automatically in next column. But for my current coding it will display only after the page reload by I clicking on the add button only. I need to display the total amount automatically when I move to the Total column. This is my current code.
<ItemTemplate>
<asp:TextBox ID="txttotal" runat="server" Text='<%# Convert.ToInt32(Eval("Qty")) * Convert.ToInt32(Eval("Uprice"))%>'
AutoPostBack="True"></asp:TextBox>
</ItemTemplate>
Post
Reset
Cancel
Answers (
6
)
Next Recommended Forum
Windows CE application image transparency
How to call method that handles the Click event for several