Click here to Skip to main content
15,884,176 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I want to show Student Names and Text boxes to enter subject marks in Gridview. My first Gridview column will be student names from one table and succeeding columns will be subject names from other table whose marks will be entered by user. But the problem is that there won't be data for subject names as marks are to be entered, only student names can be displayed. So the Gridview won't be displayed. How can I overcome the problem?. Please suggest something or any alternative to it.

Thanks and regards,
Rizwan Gazi.
Posted
Comments
Nayan Rudani 27-Jun-14 8:45am    
Please send me your Code
Rizwan Gazi 28-Jun-14 2:48am    
Dear @Nayan, I have not written code for that. I am not getting where to start from. If you have understood the scenario, then please suggest something, else please ask for more clarification.
[no name] 29-Jun-14 8:16am    
where is your problem?
Rizwan Gazi 30-Jun-14 1:18am    
The scenario is that Student Names are coming from one table and from another table only subject names are coming, whose marks will be entered later. But the problem is that as there will not be data for subject names, I will put Text boxes to enter marks of respective student. So how can I achieve it?
[no name] 30-Jun-14 2:06am    
So you want to put marks of subjects against each student name.
And you are telling there will not be data for subject names.
Create table which will contain student details with subject detail and put textboxes on responding columns

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900