Click here to Skip to main content
15,914,111 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Datalist control Pin
User 418025410-Aug-15 9:13
User 418025410-Aug-15 9:13 
GeneralRe: Datalist control Pin
Otekpo Emmanuel12-Aug-15 11:00
Otekpo Emmanuel12-Aug-15 11:00 
GeneralRe: Datalist control Pin
User 418025413-Aug-15 3:44
User 418025413-Aug-15 3:44 
QuestionForms and Master Pages - Best Practice Pin
JBHowl6-Aug-15 6:50
JBHowl6-Aug-15 6:50 
AnswerRe: Forms and Master Pages - Best Practice Pin
Afzaal Ahmad Zeeshan6-Aug-15 7:23
professionalAfzaal Ahmad Zeeshan6-Aug-15 7:23 
QuestionHow to open local files in browser using asp.net. Pin
Mukesh Pr@sad5-Aug-15 23:35
professionalMukesh Pr@sad5-Aug-15 23:35 
QuestionCreating a webservice o target 64 bit process to call 64 bit interiop dll Pin
sma123#5-Aug-15 20:24
sma123#5-Aug-15 20:24 
AnswerRe: Creating a webservice o target 64 bit process to call 64 bit interiop dll Pin
Jawad Siddiqui5-Aug-15 21:51
Jawad Siddiqui5-Aug-15 21:51 
QuestionWebservice except type causing an error Pin
Stephen Holdorf5-Aug-15 5:42
Stephen Holdorf5-Aug-15 5:42 
AnswerRe: Webservice except type causing an error Pin
jkirkerx7-Aug-15 9:27
professionaljkirkerx7-Aug-15 9:27 
QuestionSorting number in gridviewfix Pin
Member 115621495-Aug-15 3:09
Member 115621495-Aug-15 3:09 
AnswerRe: Sorting number in gridviewfix Pin
Herman<T>.Instance27-Aug-15 5:13
Herman<T>.Instance27-Aug-15 5:13 
QuestionAsp.NET MVC and Web API Pin
narkhik2-Aug-15 18:44
narkhik2-Aug-15 18:44 
AnswerRe: Asp.NET MVC and Web API Pin
F-ES Sitecore2-Aug-15 22:40
professionalF-ES Sitecore2-Aug-15 22:40 
GeneralRe: Asp.NET MVC and Web API Pin
Afzaal Ahmad Zeeshan3-Aug-15 1:40
professionalAfzaal Ahmad Zeeshan3-Aug-15 1:40 
GeneralRe: Asp.NET MVC and Web API Pin
F-ES Sitecore3-Aug-15 2:08
professionalF-ES Sitecore3-Aug-15 2:08 
AnswerRe: Asp.NET MVC and Web API Pin
Afzaal Ahmad Zeeshan3-Aug-15 1:40
professionalAfzaal Ahmad Zeeshan3-Aug-15 1:40 
Questioni have issue for calculating Total in Grid control of ASP.net Pin
bablug30-Jul-15 2:25
bablug30-Jul-15 2:25 
AnswerRe: i have issue for calculating Total in Grid control of ASP.net Pin
Richard Deeming30-Jul-15 7:43
mveRichard Deeming30-Jul-15 7:43 
AnswerRe: i have issue for calculating Total in Grid control of ASP.net Pin
User 41802543-Aug-15 10:17
User 41802543-Aug-15 10:17 
QuestionOnly authenticate user can access the authenticated page otherwise redirect to login page uaing ASP.NET webfroms Pin
Member 1115728828-Jul-15 21:40
Member 1115728828-Jul-15 21:40 
AnswerRe: Only authenticate user can access the authenticated page otherwise redirect to login page uaing ASP.NET webfroms Pin
Wendelius28-Jul-15 21:47
mentorWendelius28-Jul-15 21:47 
Questioncalculate the weighted average Pin
jkirkerx27-Jul-15 13:43
professionaljkirkerx27-Jul-15 13:43 
I sort of need to calculate the average of all the averages in a report.
I have no clue how to do this, but I do have data.
Do I have enough data here to do this, and perhaps some help with the formula
I saw a couple of examples, but wow it looked so complex.
http://study.com/academy/lesson/calculating-weighted-average-method-formula-example.html[^]
If (sCIR.Length > 0) Then
                   For idx As Integer = 0 To sCIR.Length - 1

                       rs_DataRow = rs_Table.NewRow()
                       rs_DataRow(0) = sCIR(idx).FITEMNO
                       rs_DataRow(1) = sCIR(idx).FDESCRIPT
                       rs_DataRow(2) = sCIR(idx).FSHIPQTY
                       rs_DataRow(3) = sCIR(idx).FCOST
                       rs_DataRow(4) = sCIR(idx).FPRICE
                       rs_DataRow(5) = sCIR(idx).FAMOUNT
                       rs_DataRow(6) = sCIR(idx).FMARGIN_PERCENT
                       rs_DataRow(7) = sCIR(idx).FMARGIN_PROFIT

                       'Add up the total cost value
                       m_totalCost += sCIR(idx).FCOST * sCIR(idx).FSHIPQTY

                       'Add up the total price value
                       m_totalPrice += sCIR(idx).FPRICE * sCIR(idx).FSHIPQTY

                       'Calculate the average margin of all the items
                       'm_avgMarkup +=

                       'Add up the total margin value
                       m_totalMargin += sCIR(idx).FMARGIN_PROFIT

                       rs_Table.Rows.Add(rs_DataRow)

                   Next

               End If

AnswerRe: calculate the weighted average Pin
Kenneth Haugland28-Jul-15 1:19
mvaKenneth Haugland28-Jul-15 1:19 
AnswerRe: calculate the weighted average Pin
deepankarbhatnagar28-Jul-15 2:14
professionaldeepankarbhatnagar28-Jul-15 2:14 

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.