Congratulations - C# Corner Q4, 2022 MVPs Announced
Why Join
Become a member
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
C# Corner Home
Technologies
Monthly Leaders
ASK A QUESTION
Forum guidelines
Dheeraj Sharma
2k
98
25k
{"Index was out of range. Must be non-negative and less than
May 2 2018 2:11 AM
if (e2 != null)
{
if (dt != aaa[0].Date && e2[0].BranchId != aaa[0].BranchId && e2[0].StandardId != aaa[0].StandardId && e2[0].MediumId != aaa[0].MediumId)
{
List<AttendenceData> ddd = new List<AttendenceData>();
foreach (var y in e2)
{
ddd.Add(new AttendenceData()
{
Date = dt,
YearId = y.YearId,
StudentId = y.StudentId,
BranchId = y.BranchId,
StandardId = y.StandardId,
BoardId = y.BoardId,
MediumId = y.MediumId,
SubjectId = y.SubjectId,
Present = y.Present,
EnteryDate = System.DateTime.Now,
});
}
Reply
Answers (
1
)
Unclosed quotation mark after the character string ''. error
Bind gridview in asp.net with c#