Hi,
I have data in datatable like below
| Id | Name | Class |
| 101 | Adam | IV |
| 102 | Sara | V |
| 103 | Raj | X |
I want to pass id to sql select query without using foreach loop like
Select marks,attendance percentage, parents from students where studentid=id( Datatable rows)
Please share your ideas
Thanks,

Midhun TpRank #388 · 6.5K reputationPosted Aug 29, 2017, 1:21 AM EDT
Nilesh ShahRank #42 · 34.2K reputationPosted Aug 28, 2017, 8:01 AM EDT
Ankit KumarRank #6,715 · 258 reputationPosted Sep 5, 2017, 4:59 AM EDT