3
Answers

Looks good Mahesh

Administrator

Administrator

22y
309
1
It's a bummer there such problems porting this over to c-sharpcorner. But, now that it's here, it looks great! Are you planning on making changes to the forum yourself or just waiting on ASPnet forums to add features and then port them over? If the former, can I request avitars?? As silly as they are, I think they add character to the site... thanx again! -dotnetace-
Answers (3)
0
Frogleg

Frogleg

NA 7.9k 33k 13y
Here is my idea on your project
Accepted
0
Frogleg

Frogleg

NA 7.9k 33k 13y
There is a problem in your code - but it will take some time to work it out.
Soon as I get somewhere, I'll post result
0
Kevin

Kevin

NA 10 6k 13y
Thank you for that code to compare if the ID is already in the array list.  They should not both go straight to the last name the lastStudent button should go straight to the last name but as for the nextStudent button it should display a different student every time until the end of the array list.  But what I am having trouble with is that when I click the nextStudentButton I can continue to click until the end of the array not the last student.  
0
Frogleg

Frogleg

NA 7.9k 33k 13y
When I use either button- it moves to last name ?
As to check id try this

 public void checkId()
{
foreach (Student stu in students)
{
if (stu.IdNumber.ToString() == idAddTextBox.Text)
{
MessageBox.Show("Sorry.Student id already in use");
return;
}
}
}
Next Recommended Forum