Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > .NET 2.0 and Visual Studio. 2005 > Visual Studio 2005
|
Visual Studio 2005 For discussing Visual Studio 2005. Please post code questions about a specific language (C#, VB, ASP.NET, etc) in the correct language forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Visual Studio 2005 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 June 10th, 2008, 03:35 PM
Registered User
 
Join Date: Aug 2005
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to u_roc100@rediffmail.com
Default Mulitplication of two digits in Datagrid

Dear Friends,

i have data entry form with datagrid where user input data, But i want to perform some calculation. below appended is my code please help me to solve my problem. In stkremian column i want result of subtracted values given in (stock column - stkused column)

   Private Sub dgridview1()

        Dim stock As New DataGridViewTextBoxColumn()
        stock.HeaderText = ("Total Stock")
        stock.Visible = True
        DataGridView1.Columns.Add(Total Stock)

        Dim stkused As New DataGridViewTextBoxColumn()
        stkused .HeaderText = ("Stock Used")
        stkused .Visible = True
        DataGridView1.Columns.Add(stkused)

        Dim stkremian As New DataGridViewTextBoxColumn()
        stkremian.HeaderText = ("Total Minutes")
        stkremian.Visible = True
        DataGridView1.Columns.Add(stkremian)
end sub






Similar Threads
Thread Thread Starter Forum Replies Last Post
Restricting the # of digits after a decimal in a K stevenyoo321 VB How-To 1 April 18th, 2007 07:52 AM
Testing a string for digits bonekrusher XSLT 2 March 18th, 2007 02:48 PM
TAPI: Detecting Dialed Digits [VC++] goyal_saurabh Visual C++ 4 September 14th, 2006 03:00 AM
Number of Digits Colonel Angus Javascript How-To 3 December 1st, 2004 09:12 AM
Change number of significant digits displayed gurbani XSLT 1 June 25th, 2004 11:50 AM





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