Click here to Skip to main content
15,886,919 members
Home / Discussions / C#
   

C#

 
QuestionBeep Duration Pin
gwithey21-Jul-09 22:22
gwithey21-Jul-09 22:22 
AnswerRe: Beep Duration Pin
Nagy Vilmos21-Jul-09 23:17
professionalNagy Vilmos21-Jul-09 23:17 
GeneralRe: Beep Duration Pin
gwithey21-Jul-09 23:53
gwithey21-Jul-09 23:53 
AnswerRe: Beep Duration Pin
Luc Pattyn22-Jul-09 1:28
sitebuilderLuc Pattyn22-Jul-09 1:28 
QuestionTotal Sum Value of columns as header row by ID in gridview Pin
vanillaET21-Jul-09 21:56
vanillaET21-Jul-09 21:56 
AnswerRe: Total Sum Value of columns as header row by ID in gridview Pin
Nagy Vilmos21-Jul-09 22:12
professionalNagy Vilmos21-Jul-09 22:12 
GeneralRe: Total Sum Value of columns as header row by ID in gridview Pin
vanillaET22-Jul-09 0:30
vanillaET22-Jul-09 0:30 
GeneralRe: Total Sum Value of columns as header row by ID in gridview Pin
Nagy Vilmos22-Jul-09 1:32
professionalNagy Vilmos22-Jul-09 1:32 
I can give the solution but you'll learn morew by trying. However I've been told I'm too rude to everyone so, for _Maxx_'s benefit, I will point you gently in the right direction.

The problem is complicated by having the summary before the items, but there is an easy way to do this that does not require looping through the items twice. The follwoing psudo code should get you on your way:

/// This is not real code
summary is not set
for each item in the list
  if the item key <> summary key
    if the summary is set
      update the grid entry for summary with the totals
    create a new grid entry for summary with item key
    set totals to zero
  create a new grid entry for item
  add item values to totals
if the summary is set
  update the grid entry for summary with the totals




Panic, Chaos, Destruction.
My work here is done.

GeneralRe: Total Sum Value of columns as header row by ID in gridview Pin
vanillaET22-Jul-09 23:10
vanillaET22-Jul-09 23:10 
QuestionNeed Guidance Pin
Mogamboo_Khush_Hua21-Jul-09 21:25
Mogamboo_Khush_Hua21-Jul-09 21:25 
AnswerRe: Need Guidance Pin
MumbleB22-Jul-09 0:20
MumbleB22-Jul-09 0:20 
QuestionHow to display table data in table format uzing zedgraph Pin
Nitin K21-Jul-09 20:55
Nitin K21-Jul-09 20:55 
AnswerRe: How to display table data in table format uzing zedgraph Pin
stancrm21-Jul-09 21:09
stancrm21-Jul-09 21:09 
GeneralRe: How to display table data in table format uzing zedgraph Pin
Nitin K21-Jul-09 23:46
Nitin K21-Jul-09 23:46 
GeneralRe: How to display table data in table format uzing zedgraph Pin
stancrm22-Jul-09 1:22
stancrm22-Jul-09 1:22 
QuestionSkip the Outlook Web Access login window Pin
mohanroy21-Jul-09 20:55
mohanroy21-Jul-09 20:55 
AnswerRe: Skip the Outlook Web Access login window Pin
Adam Maras21-Jul-09 21:07
Adam Maras21-Jul-09 21:07 
Questionconversion of webcam image in 16 bit Pin
shekhar25839521-Jul-09 20:49
shekhar25839521-Jul-09 20:49 
QuestionWOW! axWindowsMediaPlayer1 is a joke! Pin
AKC_pico21-Jul-09 20:39
AKC_pico21-Jul-09 20:39 
AnswerRe: WOW! axWindowsMediaPlayer1 is a joke! Pin
Christian Graus21-Jul-09 20:43
protectorChristian Graus21-Jul-09 20:43 
GeneralRe: WOW! axWindowsMediaPlayer1 is a joke! Pin
AKC_pico21-Jul-09 20:48
AKC_pico21-Jul-09 20:48 
GeneralRe: WOW! axWindowsMediaPlayer1 is a joke! Pin
Christian Graus21-Jul-09 21:21
protectorChristian Graus21-Jul-09 21:21 
GeneralRe: WOW! axWindowsMediaPlayer1 is a joke! Pin
AKC_pico21-Jul-09 21:46
AKC_pico21-Jul-09 21:46 
GeneralWOW! AKC_pico is a joke! Pin
Nagy Vilmos21-Jul-09 23:26
professionalNagy Vilmos21-Jul-09 23:26 
GeneralRe: WOW! AKC_pico is a joke! Pin
AKC_pico22-Jul-09 1:19
AKC_pico22-Jul-09 1:19 

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.