Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Datagrid view

Datagrid view

Scheduled Pinned Locked Moved C#
helpcssquestionannouncement
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N Offline
    N Offline
    nagendra vk
    wrote on last edited by
    #1

    hi everybody i m doing a small banking application i have three tables master,transactions,ledgers if i m entering the opening balance from master table it inserts in the ledger table and display that value properly. if i update that value in master it updates ledger value properly. i enter the values in grid view and save them they are saved in ledger table as well as corresponding tables.here i m using storedprocedures for saving values. ledger table is read only it displays only report in gridview **transaction table have 3 columns ------------------------------------------- date | deposit | withdrawl ------------------------------------------- **my ledger table have 4 columns ------------------------------------------- date | deposit | withdrawl | balance ------------------------------------------- now the task is if i enter amount in 'deposit'column of 'transaction table's gridview' ,it displays in deposit column of ledger gridview for suppose i enter amount in 'withdrawl 'column of 'transaction table's gridview' ,it displays in withdrawl column of ledger gridview now balance will be calculated and displays in balance column of ledger's gridview how can i calculate and displays in gridview of ledger ------------------------------------------------------------------- date ------ deposit---- withdrawl-----balance ------------------------------------------------------------------- 1/1/2000----1500-----------0----------1500 2/2/2000------0----------1000----------500 3/3/2000-----700-----------0----------1200 4/4/2000------0-----------200---------1000 ------------------------------------------------------------------ like this i need hope u help me n this issue with regards, nagendra kumar

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups