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
Guest User
Tech Writer
2.1k
473.7k
Argument list using IList in C# asp.net mvc
Apr 30 2021 12:14 PM
Hi Team
I need some help, want to pass some parameters using List<>(). Here is my sample code.
// controller
public
IList<ExtractionViewModel> GetExtractionViewModels(
int
Week,
string
Year)
// arguments
{
}
// Model properties
public
string
Year {
get
;
set
; }
public
int
Week {
get
;
set
; }
public
void
ExportToExcel()
{
var v =
new
GridView();
v.DataSource =
this
.GetExtractionViewModels();
// How to return this argument back as List?
....
///
}
Reply
Answers (
1
)
column name 'nwt wt' already belongs to this datatable error
How to create label printing in SSRS