Wrox Programmer Forums
Go Back   Wrox Programmer Forums > C# and C > C# 1.0 > C#
|
C# Programming questions specific to the Microsoft C# language. See also the forum Beginning Visual C# to discuss that specific Wrox book and code.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the C# section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old July 9th, 2006, 03:49 PM
Registered User
 
Join Date: Aug 2005
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to Giri
Default How to perform calculation on datagrid column valu

Hi Everyone,

                    Im developing C# Windows application. In that Im binding database values in datagrid and updating the updated grid values with database values by using currentcellchange event. Before that I have to perform calculation in the datagrid itself. Like Im binding unitrate values n quantity values in the grid from the database. If quantity values is changed in the grid it should be updated when cursor moves to other column or by pressing enter key. How to do this. Is there any event handler?


 
Old August 16th, 2006, 06:32 AM
Authorized User
 
Join Date: Jul 2006
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Yes ther is an event for that. Trigger your calulation function on the cellleave event






Similar Threads
Thread Thread Starter Forum Replies Last Post
run some function when cache reached to limit valu Maxxim ASP.NET 2.0 Professional 9 October 15th, 2007 12:46 PM
DataGrid Multi-Column pbyrum Classic ASP Professional 4 October 5th, 2005 06:02 PM
how to prompt user if they try to delte wrong valu method ASP.NET 1.x and 2.0 Application Design 4 June 17th, 2005 08:32 AM
to turn Calculation OFF for all except one column alienscript Excel VBA 1 December 17th, 2003 09:01 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.