TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Maharudra Gadekar
1.4k
367
82.8k
How to marge to sp result in MVC???
Aug 29 2016 2:58 AM
Hello,
i am margeing two sp data in mvc....below code
In my controller below code.......
var rs1 = db.sp_storeprocedure1(235).ToList();
var rs2 = db.sp_storeprocedure2(235).ToList();
var data = rs1.Concat(rs2);
but show the error.....
'System.Collections.Generic.List<ListBoxdemo.Models.sp_storeprocedure1>' does not contain a definition for 'Concat' and the best extension method overload 'System.Linq.Queryable.Concat<TSource>(System.Linq.IQueryable<TSource>, System.Collections.Generic.IEnumerable<TSource>)' has some invalid arguments C:\Users\Administrator\Desktop\listboxdemo\ListBoxdemo\ListBoxdemo\Controllers\TestController.cs
how to slows plz help me
Reply
Answers (
2
)
DataTable convert to JSON Format
how to add a validation in fileuploader during onchange