narasiman rao

narasiman rao

  • NA
  • 519
  • 773.9k

how to compare the gridview row and repeater control rowinc#

May 31 2014 5:20 AM
 Repeater control as follows

coursename coursedate coursecode 
RAFF         30 mar 14        PSTF 
RPST         30 mar 14        PSTF 
 
In Gridview as follows
 
coursename coursedate coursecode
RAFF          30 mar 14    PSTF
RPST          30 mar 14    PSTF
MFA          29 mar 14    AMC

i want to compare the Gridview 3rd row coursecode(AMC) and Repeater control 2nd row coursecode(PSTF).

if both course code matches i want to show the message coursecode matches.
if both course code not matches i want to show the message coursecode not matches.

for that how can i write the code in asp.net using c#.
Regards, 
Narasiman P.
 

Answers (1)