Click here to Skip to main content
15,889,266 members
Home / Discussions / C#
   

C#

 
AnswerRe: Converting Hindi 2 english Pin
Rajesh R Subramanian7-May-09 0:15
professionalRajesh R Subramanian7-May-09 0:15 
GeneralRe: Converting Hindi 2 english Pin
karthizen27-Aug-09 22:16
karthizen27-Aug-09 22:16 
QuestionPBX VOIP Pin
imranliaqat6-May-09 23:36
imranliaqat6-May-09 23:36 
AnswerRe: PBX VOIP Pin
benjymous6-May-09 23:54
benjymous6-May-09 23:54 
GeneralRe: PBX VOIP Pin
imranliaqat7-May-09 0:08
imranliaqat7-May-09 0:08 
GeneralRe: PBX VOIP Pin
stancrm7-May-09 0:22
stancrm7-May-09 0:22 
GeneralRe: PBX VOIP Pin
imranliaqat7-May-09 0:25
imranliaqat7-May-09 0:25 
QuestionDatagrid view Pin
nagendra.vk6-May-09 23:02
nagendra.vk6-May-09 23:02 
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
Questionchange name of c# application Pin
lost_in_code6-May-09 22:55
lost_in_code6-May-09 22:55 
AnswerRe: change name of c# application Pin
SayreCC6-May-09 22:59
SayreCC6-May-09 22:59 
QuestionHow to Display Image in Detail view from database for different record Pin
murary6-May-09 22:32
murary6-May-09 22:32 
QuestionExecute a command in command prompt from C# Pin
Mc_Topaz6-May-09 22:29
Mc_Topaz6-May-09 22:29 
AnswerRe: Execute a command in command prompt from C# Pin
Spunky Coder6-May-09 22:42
Spunky Coder6-May-09 22:42 
GeneralRe: Execute a command in command prompt from C# Pin
tolw6-May-09 22:52
tolw6-May-09 22:52 
GeneralRe: Execute a command in command prompt from C# Pin
Spunky Coder6-May-09 23:03
Spunky Coder6-May-09 23:03 
GeneralRe: Execute a command in command prompt from C# Pin
Mc_Topaz7-May-09 3:52
Mc_Topaz7-May-09 3:52 
GeneralRe: Execute a command in command prompt from C# Pin
Mc_Topaz7-May-09 3:51
Mc_Topaz7-May-09 3:51 
AnswerRe: Execute a command in command prompt from C# Pin
dan!sh 6-May-09 22:59
professional dan!sh 6-May-09 22:59 
AnswerRe: Execute a command in command prompt from C# Pin
khoanguyen12-Oct-09 18:51
khoanguyen12-Oct-09 18:51 
GeneralWierd DataGridView processing with a thread Pin
Mycroft Holmes6-May-09 22:06
professionalMycroft Holmes6-May-09 22:06 
Questionget SQL Insert Query Pin
Abdul Rahman Hamidy6-May-09 21:40
Abdul Rahman Hamidy6-May-09 21:40 
AnswerRe: get SQL Insert Query Pin
Rob Philpott6-May-09 22:49
Rob Philpott6-May-09 22:49 
GeneralRe: get SQL Insert Query Pin
Abdul Rahman Hamidy6-May-09 23:12
Abdul Rahman Hamidy6-May-09 23:12 
Questioncall .wcp (help file) Pin
lost_in_code6-May-09 21:22
lost_in_code6-May-09 21:22 
AnswerRe: call .wcp (help file) Pin
Spunky Coder6-May-09 21:57
Spunky Coder6-May-09 21:57 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.