Click here to Skip to main content
15,900,511 members
Home / Discussions / C#
   

C#

 
GeneralRe: writing javascript in code behind Pin
Brij22-Jul-09 1:52
mentorBrij22-Jul-09 1:52 
GeneralRe: writing javascript in code behind Pin
kKamel22-Jul-09 2:18
kKamel22-Jul-09 2:18 
QuestionAudit Pin
arkiboys21-Jul-09 22:49
arkiboys21-Jul-09 22:49 
AnswerRe: Audit Pin
SeMartens21-Jul-09 22:55
SeMartens21-Jul-09 22:55 
GeneralRe: Audit Pin
arkiboys21-Jul-09 22:57
arkiboys21-Jul-09 22:57 
GeneralRe: Audit Pin
Pete O'Hanlon22-Jul-09 0:24
mvePete O'Hanlon22-Jul-09 0:24 
GeneralRe: Audit Pin
arkiboys22-Jul-09 0:31
arkiboys22-Jul-09 0:31 
QuestionError Handling Pin
mjawadkhatri21-Jul-09 22:26
mjawadkhatri21-Jul-09 22:26 
AnswerRe: Error Handling Pin
Tom Deketelaere21-Jul-09 22:38
professionalTom Deketelaere21-Jul-09 22:38 
AnswerRe: Error Handling Pin
Vimalsoft(Pty) Ltd22-Jul-09 0:06
professionalVimalsoft(Pty) Ltd22-Jul-09 0:06 
AnswerRe: Error Handling Pin
Luc Pattyn22-Jul-09 1:27
sitebuilderLuc Pattyn22-Jul-09 1:27 
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 

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.