Click here to Skip to main content
15,913,027 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: ASP.NET Tables tr and td Pin
sudevsu5-Jan-15 7:30
sudevsu5-Jan-15 7:30 
QuestionCan i develop mvc5 application without entity framework? Pin
Namith Krishnan E4-Jan-15 23:48
professionalNamith Krishnan E4-Jan-15 23:48 
AnswerRe: Can i develop mvc5 application without entity framework? Pin
Sarvesh Kushwaha4-Jan-15 23:56
Sarvesh Kushwaha4-Jan-15 23:56 
AnswerRe: Can i develop mvc5 application without entity framework? Pin
sudevsu5-Jan-15 3:35
sudevsu5-Jan-15 3:35 
AnswerRe: Can i develop mvc5 application without entity framework? Pin
Swinkaran5-Jan-15 10:26
professionalSwinkaran5-Jan-15 10:26 
AnswerRe: Can i develop mvc5 application without entity framework? Pin
Rahul Rajat Singh6-Jan-15 22:53
professionalRahul Rajat Singh6-Jan-15 22:53 
QuestionASP.Net URL gets redirected Pin
prithvi054-Jan-15 22:54
prithvi054-Jan-15 22:54 
AnswerRe: ASP.Net URL gets redirected Pin
Richard Deeming5-Jan-15 2:35
mveRichard Deeming5-Jan-15 2:35 
GeneralRe: ASP.Net URL gets redirected Pin
ZurdoDev5-Jan-15 2:38
professionalZurdoDev5-Jan-15 2:38 
Question[Vb.net - ASPX] Send Data via Sockets Server-Client Pin
Jesus Ac4-Jan-15 21:19
Jesus Ac4-Jan-15 21:19 
QuestionCast .NET dll to Silverlight dll Pin
Global Developer's Academy4-Jan-15 0:50
Global Developer's Academy4-Jan-15 0:50 
AnswerRe: Cast .NET dll to Silverlight dll Pin
Richard MacCutchan4-Jan-15 1:21
mveRichard MacCutchan4-Jan-15 1:21 
Questionhelp me ... - Can't understand logic of code Pin
Nguyen Jay3-Jan-15 21:06
Nguyen Jay3-Jan-15 21:06 
hi hi every body ..i cant' understand logic of code...plz help me .Thank you!
class Product
C#
namespace EssentialTools.Models {
    public class Product {
        public int ProductID { get; set; }
        public string Name { get; set; }
        public string Description { get; set; }
        public decimal Price { get; set; }
        public string Category { set; get; }
    }
}

// class LinqValueCalculator 
using System.Collections.Generic;
using System.Linq;
namespace EssentialTools.Models {
    public class LinqValueCalculator {
        public decimal ValueProducts(IEnumerable<Product> products) {
            return products.Sum(p => p.Price);
        }
    }

//    ========
using System.Collections.Generic;
namespace EssentialTools.Models {
    public class ShoppingCart {
        private LinqValueCalculator calc;
        public ShoppingCart(LinqValueCalculator calcParam) {
            calc = calcParam;
        }
        public IEnumerable<Product> Products { get; set; }
        public decimal CalculateProductTotal() {
            return calc.ValueProducts(Products);
        }
    }
}
}


modified 4-Jan-15 3:31am.

AnswerRe: help me ... - Can't understand logic of code Pin
BillWoodruff4-Jan-15 1:15
professionalBillWoodruff4-Jan-15 1:15 
GeneralRe: help me ... - Can't understand logic of code Pin
Nguyen Jay4-Jan-15 1:19
Nguyen Jay4-Jan-15 1:19 
QuestionFile Upload for each row in GridView Pin
sudevsu2-Jan-15 4:13
sudevsu2-Jan-15 4:13 
AnswerRe: File Upload for each row in GridView Pin
sudevsu2-Jan-15 4:22
sudevsu2-Jan-15 4:22 
GeneralRe: File Upload for each row in GridView Pin
sudevsu2-Jan-15 5:35
sudevsu2-Jan-15 5:35 
Questionscroll bar Pin
Member 113308252-Jan-15 1:10
Member 113308252-Jan-15 1:10 
Questionproblem with response.writefile and triggers Pin
fa_itb31-Dec-14 0:14
fa_itb31-Dec-14 0:14 
AnswerRe: problem with response.writefile and triggers Pin
jkirkerx31-Dec-14 9:57
professionaljkirkerx31-Dec-14 9:57 
QuestionHow must I solve this problem ? ( I don't know what it is ) Pin
Member 1134468130-Dec-14 21:45
Member 1134468130-Dec-14 21:45 
AnswerRe: How must I solve this problem ? ( I don't know what it is ) Pin
jkirkerx31-Dec-14 9:39
professionaljkirkerx31-Dec-14 9:39 
GeneralRe: How must I solve this problem ? ( I don't know what it is ) Pin
Member 113446811-Jan-15 22:25
Member 113446811-Jan-15 22:25 
Answerjquery paging&fancy box Pin
Member 1133082530-Dec-14 18:24
Member 1133082530-Dec-14 18:24 

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.