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.

Ramesh PalanivelPosted Apr 19, 2017, 1:20 AM
Nilesh JadavPosted Apr 19, 2017, 12:30 AM
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 !
Manas MohapatraPosted Apr 19, 2017, 12:26 AM