In table record as follows,
major_code minor_code
AMC MFA
BMC EFA
VAC SSO
PSTF RPST
PSTF RAFF
PSTF RPSCRB
In Gridview as follows
Course Name Batch Date
MFA 24 jun 2014
EFA 24 jun 2014
RPST 26 jun 2014
RPSCRB 26 jun 2014
Then i have one button called Submit.
Excepted output as follows in gridview this is correct one
if suppose PSTF major code and other than the PSTF major code course is there in gridview as follows
MFA 24 jun 2014 (AMC Major Code)
EFA 24 jun 2014 (BMC Major Code)
RPST 26 jun 2014 (PSTF Major Code)
RPSCRB 26 jun 2014 (PSTF Major Code)
in the above output the PSTF major code course and other than the PSTF major code course is there.
for that how can i validate in asp.net using c#.
.