1
Answer

how to split the total and dislay into datagridview

Photo of narasiman rao

narasiman rao

12y
1.2k
1
when i run as follows in datagridview in windows applciation 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 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 please help me.

Answers (1)

0
Photo of HumptyNotSoDumpty
NA 23 0 20y
What a muppet (me that is!). I did get close, but must be going mad! Cheers so much
0
Photo of james
NA 1.1k 313k 20y
If (Test1 = true) || (Test2 = true) Then _____MessageBox.Show("HelloWorld") Else _____MessageBox.Show("GoodbyeWorld") End If || = logical Or && = logical And