Click here to Skip to main content
15,921,351 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Course GS VB SJ RK MS(faculty) Total


REO 10
AFF 10



total number of faculty is 5
total hours of course is 10

when i divide the total(10) by number of faculty (5) and give the answer 2.

i want to display the 2 for each faculty GS,VB,SJ,RK,Ms.

i want the output as follows;

i have one Load Button

Collapse | Copy Code

Course GS VB SJ RK MS(faculty) Total

REO 2 2 2 2 2 10
AFF 2 2 2 2 2 10



when click the Load button 2 has to displayed in datagridview for each faculty.

for that i have using this formula, total (10) is divide by number of faculty(5) gives the answer 2

this 2 will display in datagridview for each faculty.

for th above output how can i do using csharp.

Note: it is a windows application


how can i do? please help me.
Thanks & regards,

Narasiman
Posted
Comments
Sergey Alexandrovich Kryukov 17-Feb-13 20:59pm    
You can do it by writing an application. What's the problem?
—SA
Repost - how to split the total and dislay into datagridview.

Please check my answer there and don't submit same question again and again.

Thanks,
Tadit

1 solution

Create a windows forms application
Add a datagridview
retrieve your data
do the calculation on the data as per your requirements
format the data to meed your requirements
bind the data to the datagridview.
 
Share this answer
 

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