473,474 Members | 1,324 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Datagrid Line Total

I have a seemingly simple problem...

I created a datagrid with 3 columns - quantity, unit price and line
total. Line total is equal to quantity * unit price.

I need the Line Total column to automatically compute (on the fly) as
a user is editing the quantity or unit price columns and not when the
focus leaves the quantity or unit price columns.

Please post a sample code. Thanks.
Nov 16 '05 #1
2 1337
hi,

is this a win or a web app?

cheers,

--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation
"Azurewrath" <th******@gmail.com> wrote in message
news:86**************************@posting.google.c om...
I have a seemingly simple problem...

I created a datagrid with 3 columns - quantity, unit price and line
total. Line total is equal to quantity * unit price.

I need the Line Total column to automatically compute (on the fly) as
a user is editing the quantity or unit price columns and not when the
focus leaves the quantity or unit price columns.

Please post a sample code. Thanks.

Nov 16 '05 #2
sorry about that... it's a win app.

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 16 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Chris Plowman | last post by:
Hi all, I was wondering if anyone can help me with a really annoying problem I have been having. I made a derived datagrid class that will select the row when a user clicks anywhere on a cell...
0
by: Pietje de kort | last post by:
Hello, why is the System.Windows.Forms.DataGrid so un-customizable? I am trying to build a DataGrid that will resize it's last column when there is room left over (make it fill the total...
8
by: André Almeida Maldonado | last post by:
Hey Guys... What is the diference in bind data into a datagrid without predefined columns and a datagrid with predifined columns???? When I try to bind data into a datagrid without predefined...
2
by: Jon | last post by:
Hi, Working on a shopping cart app. I'm using a datagrid on the shopping cart page with boundcolumns to display Product name, cost, quantity etc - that all works fine. However I want to add a row...
3
by: AH | last post by:
Hi, I post this again to hope for valuable help. I have a window form order entry type of application where I used a datagrid to capture the order line detail. the datasource of this datagrid is...
4
by: Edward van Nijmweegen | last post by:
Hello, I developing some code that will select a few value and together they will be presented in a table (datagrid). But i have the following issues/question: 1. How can i add just one row...
2
by: patang | last post by:
I found the following to count the total number of VISIBLE rows of datagrid datagrid.visiblerowcount How do we count the total number of ACTUAL (not just visible) rows of datagrid? Thanks...
2
by: ismaelf | last post by:
i have a textbox in a template column in a datagrid, it displays the initial value of the row, but when i change it remains with the original value (it doesnt get the new value..) i fill the...
1
by: berry | last post by:
Hi all, I am now using vb6 to store and get the data according to the process, machine line and machine. Let say, Line A02, process texture, machines are m1, m2 and m3. The user might store the...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.