Click here to Skip to main content
15,886,873 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionFreezing Heading of one DataGrid with data from different datasets Pin
Member 1247018419-Apr-16 20:34
Member 1247018419-Apr-16 20:34 
QuestionHow to use HandleUnknownAction Pin
nasirs516-Apr-16 23:13
nasirs516-Apr-16 23:13 
AnswerRe: How to use HandleUnknownAction Pin
John C Rayan17-Apr-16 23:24
professionalJohn C Rayan17-Apr-16 23:24 
QuestionMVC asp.net 4.0 "using templates" Pin
Member 1241562115-Apr-16 1:52
Member 1241562115-Apr-16 1:52 
AnswerRe: MVC asp.net 4.0 "using templates" Pin
John C Rayan15-Apr-16 2:00
professionalJohn C Rayan15-Apr-16 2:00 
AnswerRe: MVC asp.net 4.0 "using templates" Pin
John C Rayan15-Jun-16 1:28
professionalJohn C Rayan15-Jun-16 1:28 
Questionworking in MVC4 ..Getting Error pls help Pin
sunil314-Apr-16 19:35
sunil314-Apr-16 19:35 
AnswerRe: working in MVC4 ..Getting Error pls help Pin
F-ES Sitecore15-Apr-16 0:22
professionalF-ES Sitecore15-Apr-16 0:22 
The error is self-explatory. Your view expects a list of Employee objects so it will be something like

C#
@model IEnumerable<Employee>



yet you are passing only a single Employee object. We can't tell you how to resolve this as we don't know your business rules. If your view caters for multiple employees but you only want to pass one employee then change the action to something like

C#
return View(New List<Employee>{source});

AnswerRe: working in MVC4 ..Getting Error pls help Pin
John C Rayan15-Apr-16 0:24
professionalJohn C Rayan15-Apr-16 0:24 
Questionpartial views connection of index view Pin
Member 1243381313-Apr-16 21:34
Member 1243381313-Apr-16 21:34 
RantREPOST Pin
Richard Deeming14-Apr-16 1:53
mveRichard Deeming14-Apr-16 1:53 
AnswerRe: partial views connection of index view Pin
F-ES Sitecore14-Apr-16 1:57
professionalF-ES Sitecore14-Apr-16 1:57 
Questiontext Pin
Member 1205765613-Apr-16 19:28
Member 1205765613-Apr-16 19:28 
AnswerRe: text Pin
Richard MacCutchan13-Apr-16 20:47
mveRichard MacCutchan13-Apr-16 20:47 
AnswerRe: text Pin
aarif moh shaikh14-Apr-16 18:43
professionalaarif moh shaikh14-Apr-16 18:43 
QuestionAbout AutoMapper In Asp.net MVC4 Pin
sunil312-Apr-16 20:48
sunil312-Apr-16 20:48 
AnswerRe: About AutoMapper In Asp.net MVC4 Pin
Richard MacCutchan12-Apr-16 21:33
mveRichard MacCutchan12-Apr-16 21:33 
GeneralRe: About AutoMapper In Asp.net MVC4 Pin
sunil312-Apr-16 23:38
sunil312-Apr-16 23:38 
GeneralRe: About AutoMapper In Asp.net MVC4 Pin
Richard MacCutchan13-Apr-16 0:38
mveRichard MacCutchan13-Apr-16 0:38 
QuestionC#.net Pin
Member 1244937511-Apr-16 20:43
Member 1244937511-Apr-16 20:43 
QuestionRe: C#.net Pin
Richard MacCutchan11-Apr-16 21:32
mveRichard MacCutchan11-Apr-16 21:32 
QuestionRe: C#.net Pin
koolprasad200311-Apr-16 22:52
professionalkoolprasad200311-Apr-16 22:52 
AnswerRe: C#.net Pin
Nathan Minier13-Apr-16 4:01
professionalNathan Minier13-Apr-16 4:01 
QuestionView AutoCad Files in asp.net mvc Pin
Member 1244510911-Apr-16 0:52
Member 1244510911-Apr-16 0:52 
AnswerRe: View AutoCad Files in asp.net mvc Pin
ZurdoDev11-Apr-16 10:22
professionalZurdoDev11-Apr-16 10:22 

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.