Click here to Skip to main content
15,888,579 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 4:05
mdrizwan_111-Feb-10 4:05 
GeneralI need Help with FTP browser ! Pin
mgexpression10-Feb-10 20:01
mgexpression10-Feb-10 20:01 
Questionhow to use menu control using database... Pin
hi_everybody10-Feb-10 19:42
hi_everybody10-Feb-10 19:42 
QuestionModalPopupExtender confirmation not working in <asp:CommandFiel in grid view Pin
Vishnu Narayan Mishra10-Feb-10 18:59
Vishnu Narayan Mishra10-Feb-10 18:59 
QuestionHow to refresh Parent particular griview? Pin
JC.KaNNaN10-Feb-10 18:53
JC.KaNNaN10-Feb-10 18:53 
AnswerRe: How to refresh Parent particular griview? Pin
Gaurav Dudeja India10-Feb-10 18:56
Gaurav Dudeja India10-Feb-10 18:56 
GeneralRe: How to refresh Parent particular griview? Pin
JC.KaNNaN10-Feb-10 19:50
JC.KaNNaN10-Feb-10 19:50 
QuestionHow to assign the total value of a column to the footer? Pin
TeiUKei10-Feb-10 18:34
TeiUKei10-Feb-10 18: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 18:54
Gaurav Dudeja India10-Feb-10 18:54 
NewsGoogle API - graph Pin
Member 395625710-Feb-10 18:17
Member 395625710-Feb-10 18:17 
GeneralRe: Google API - graph Pin
nainakarri10-Feb-10 18:58
nainakarri10-Feb-10 18:58 
GeneralRe: Google API - graph Pin
Member 395625710-Feb-10 19:36
Member 395625710-Feb-10 19:36 
GeneralRe: Google API - graph Pin
Anurag Gandhi10-Feb-10 20:42
professionalAnurag Gandhi10-Feb-10 20:42 
QuestionFind How many Enter Key Press Pin
sjs4u10-Feb-10 17:55
sjs4u10-Feb-10 17:55 
AnswerRe: Find How many Enter Key Press Pin
Anurag Gandhi10-Feb-10 18:19
professionalAnurag Gandhi10-Feb-10 18:19 
Questionon keypress enter to submit login details IE is working but in firefox not working Pin
Nath10-Feb-10 15:40
Nath10-Feb-10 15:40 
QuestionCalling webservice Pin
Ramkithepower10-Feb-10 15:33
Ramkithepower10-Feb-10 15:33 
AnswerRe: Calling webservice Pin
Pranay Rana10-Feb-10 18:18
professionalPranay Rana10-Feb-10 18:18 
AnswerRe: Calling webservice Pin
sashidhar10-Feb-10 18:24
sashidhar10-Feb-10 18:24 
GeneralRe: Calling webservice Pin
Ramkithepower11-Feb-10 6:03
Ramkithepower11-Feb-10 6:03 
GeneralRe: Calling webservice Pin
sashidhar11-Feb-10 17:43
sashidhar11-Feb-10 17:43 
QuestionWorking with Memory Streams Pin
Hema Bairavan10-Feb-10 7:19
Hema Bairavan10-Feb-10 7:19 
AnswerRe: Working with Memory Streams Pin
Steve Wellens10-Feb-10 7:49
Steve Wellens10-Feb-10 7:49 
GeneralRe: Working with Memory Streams Pin
Hema Bairavan10-Feb-10 8:11
Hema Bairavan10-Feb-10 8:11 
GeneralRe: Working with Memory Streams Pin
Steve Wellens10-Feb-10 8:16
Steve Wellens10-Feb-10 8: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.