If I want to enter the marks of students, then I select the course id, then on execution of query total number of students whose are reading this course then the number of labels with the name of students should be print?
how to do?
I tried but not solved.
I tried but not solved.


Manas MohapatraRank #182 · 13.2K reputationPosted Apr 18, 2017, 8:26 PM EDT
Nilesh JadavRank #109 · 20.3K reputationPosted Apr 18, 2017, 8:30 PM EDT
May be instead of Label, you can take Gridview and inside that, take template field of your student name, and then bind gridview with database.
There are many tutorials you can have to understand how to bind controls inside gridview.
http://www.c-sharpcorner.com/UploadFile/009464/use-checkbox-inside-gridview-in-Asp-Net/
Hope that helps !
Ramesh PalanivelRank #372 · 6.8K reputationPosted Apr 18, 2017, 9:20 PM EDT