Click here to Skip to main content
15,949,686 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi, i am a beginner programmer and need help for a project i must do. i have two tables in the database, that are linked to each other. One has an amount column and the other one has a IsDebit column with 1 or 0 values. How can i show that the number is debit or credit in my gridview and in my sum query it should be negative or positive. Any help would be much appreciated.
Posted
Comments
Vani Kulkarni 4-Jul-12 6:16am    
Would you please post what have you tried till now?
Ruwaldo 4-Jul-12 8:25am    
Hi, i have found a solution to my problem thanks.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900