Click here to Skip to main content
15,850,685 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: I want to add, edit and delete data from table using gridview in Asp.net? Pin
mdrizwan_111-Feb-10 5:05
mdrizwan_111-Feb-10 5:05 
GeneralI need Help with FTP browser ! Pin
mgexpression10-Feb-10 21:01
mgexpression10-Feb-10 21:01 
Questionhow to use menu control using database... Pin
hi_everybody10-Feb-10 20:42
hi_everybody10-Feb-10 20:42 
QuestionModalPopupExtender confirmation not working in <asp:CommandFiel in grid view Pin
Vishnu Narayan Mishra10-Feb-10 19:59
Vishnu Narayan Mishra10-Feb-10 19:59 
QuestionHow to refresh Parent particular griview? Pin
JC.KaNNaN10-Feb-10 19:53
JC.KaNNaN10-Feb-10 19:53 
AnswerRe: How to refresh Parent particular griview? Pin
Gaurav Dudeja India10-Feb-10 19:56
Gaurav Dudeja India10-Feb-10 19:56 
GeneralRe: How to refresh Parent particular griview? Pin
JC.KaNNaN10-Feb-10 20:50
JC.KaNNaN10-Feb-10 20:50 
QuestionHow to assign the total value of a column to the footer? Pin
TeiUKei10-Feb-10 19:34
TeiUKei10-Feb-10 19:34 
Dear all,

I was doing a calculation on the total of costs using datagrid. There are only two row in my data. I use the following to insert the summary to the footer but is not success which is as below:

For RawCount = 0 To ItemCount - 1

Quantity(RawCount) = Me.dtGrid.Items(RawCount).Cells(2).Text
Price(RawCount) = Me.dtGrid.Items(RawCount).Cells(5).Text
Costs(RawCount) = Quantity(RawCount) * Price(RawCount)

Me.dtGrid.Items(RawCount).Cells(6).Text = Costs(RawCount)

TotalQuantity = Quantity(RawCount) + TotalQuantity
TotalCost = TotalCost + Costs(RawCount)

If Me.dtGrid.Items(RawCount).ItemType = ListItemType.Footer Then

Me.dtGrid.Items(RawCount).Cells(2).Text = TotalQuantity

End If

Could anyone please help me check what is the problem and why the data is not display in my footer raw?

Thank you so much for the help!
AnswerRe: How to assign the total value of a column to the footer? Pin
Gaurav Dudeja India10-Feb-10 19:54
Gaurav Dudeja India10-Feb-10 19:54 
NewsGoogle API - graph Pin
Member 395625710-Feb-10 19:17
Member 395625710-Feb-10 19:17 
GeneralRe: Google API - graph Pin
nainakarri10-Feb-10 19:58
nainakarri10-Feb-10 19:58 
GeneralRe: Google API - graph Pin
Member 395625710-Feb-10 20:36
Member 395625710-Feb-10 20:36 
GeneralRe: Google API - graph Pin
Anurag Gandhi10-Feb-10 21:42
professionalAnurag Gandhi10-Feb-10 21:42 
QuestionFind How many Enter Key Press Pin
sjs4u10-Feb-10 18:55
sjs4u10-Feb-10 18:55 
AnswerRe: Find How many Enter Key Press Pin
Anurag Gandhi10-Feb-10 19:19
professionalAnurag Gandhi10-Feb-10 19:19 
Questionon keypress enter to submit login details IE is working but in firefox not working Pin
Nath10-Feb-10 16:40
Nath10-Feb-10 16:40 
QuestionCalling webservice Pin
Ramkithepower10-Feb-10 16:33
Ramkithepower10-Feb-10 16:33 
AnswerRe: Calling webservice Pin
Pranay Rana10-Feb-10 19:18
professionalPranay Rana10-Feb-10 19:18 
AnswerRe: Calling webservice Pin
sashidhar10-Feb-10 19:24
sashidhar10-Feb-10 19:24 
GeneralRe: Calling webservice Pin
Ramkithepower11-Feb-10 7:03
Ramkithepower11-Feb-10 7:03 
GeneralRe: Calling webservice Pin
sashidhar11-Feb-10 18:43
sashidhar11-Feb-10 18:43 
QuestionWorking with Memory Streams Pin
Hema Bairavan10-Feb-10 8:19
Hema Bairavan10-Feb-10 8:19 
AnswerRe: Working with Memory Streams Pin
Steve Wellens10-Feb-10 8:49
Steve Wellens10-Feb-10 8:49 
GeneralRe: Working with Memory Streams Pin
Hema Bairavan10-Feb-10 9:11
Hema Bairavan10-Feb-10 9:11 
GeneralRe: Working with Memory Streams Pin
Steve Wellens10-Feb-10 9:16
Steve Wellens10-Feb-10 9:16 

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.