Solved

How to sum up fields using C3 and ASp.net

Posted on 2014-09-04
1
89 Views
Last Modified: 2014-09-30
How do i sum  up 3 fields while inserting into the database. I have 3 fields
ext.1
ext.2
ext.3
total ext.
I need the total ext to sum up the three previews fields and pop up automatically on mouse over.
total ext = ext.1 + ext.2 + ext.3

any suggestion?
0
Comment
Question by:shpresa
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 82

Accepted Solution

by:
leakim971 earned 500 total points
ID: 40304499
window.onload = function() {
document.getElementById("popupLink").onmouseover = function() {
  var v1 = document.getElementById("<%= TextBox1.ClientID %>").value;
  var v2 = document.getElementById("<%= TextBox2.ClientID %>").value;
  var v3 = document.getElementById("<%= TextBox3.ClientID %>").value;
  var t0 = v1*1 + v2*1 + v3*1;
  showPopup( t0 );
}
}

Open in new window

0

Featured Post

Edgartown IT Case Study

Learn about Edgartown's quest to ensure the safety and security of the entire town's employee and citizen data. Read the case study!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

If you have heard of RFC822 date formats, they can be quite a challenge in SQL Server. RFC822 is an Internet standard format for email message headers, including all dates within those headers. The RFC822 protocols are available in detail at:   ht…
How to leverage one TLS certificate to encrypt Microsoft SQL traffic and Remote Desktop Services, versus creating multiple tickets for the same server.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question