Tech
Forums
Jobs
Books
Events
Live
Interviews
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
1
Reply
Getting errog in Red colored text that is Guid ,how to defin
Swati Sharma
Jul 29 2015 8:31 AM
356
Reply
int itemsPerPage = 2;
int pageNumber = Page ?? 1;
List<tblGAdrsState> tblGAdrsStateGuids = new List<tblGAdrsState>();
for (int i = 1; i < 100; i++)
{
tblGAdrsStateGuids.Add(new tblGAdrsState() {
Guid
= Guid.NewGuid().ToString() });
}
return View(tblGAdrsStateGuids.ToPagedList(pageNumber, 2));
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
1
)
Next Recommended Forum
connection string
How to have a custom value option other than the pre defined