Click here to Skip to main content
15,907,329 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have records like

Testid Checkid
1452 25853
3695 1475
2352 1365
2563 8596
3241 25853
4785 8596
3142 9874
1414 25853
1414 9874
3142 25853

I have all checbox with checkid
now when i click,checkid,25853, i want testid only for 25853 checkid
then i click 9874, i want Testid for checkid 25853 and 9874 (i want Testid which have both checkids)

so i this case,i should get 1414 Testid as result only
how to get that...
Posted
Comments
What have you tried and where is the problem?
And the requirement is not clear.
maulikshah1990 7-Jan-14 0:55am    
i use dataset , and from above , i play mysql query as select * from above where checkid='25853' and checkid='9874'
this gives me 0 rows..
it should give me 1 record (row) i.e. 1414 Testid
maulikshah1990 7-Jan-14 1:26am    
waiting...
maulikshah1990 7-Jan-14 4:19am    
waiting

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