How to maintaine database datas in List<>
| ID | Name | Qty | Price |
| A-1 | Apple | 2 | 25 |
| A-1 | Orange | 5 | 50 |
| A-1 | Mango | 2 | 10 |
Query = Select * from Table where ID= 'A-1' ;
how to use List<> to maintaine that table data
| ID | Name | Qty | Price |
| A-1 | Apple | 2 | 25 |
| A-1 | Orange | 5 | 50 |
| A-1 | Mango | 2 | 10 |
Know the answer? Post it. Somebody with the same question will find it here.


Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Rajeesh MenothRank #118 · 18.4K reputationPosted Dec 24, 2019, 7:37 PM EST
Laxmidhar SahooRank #383 · 6.6K reputationPosted Dec 24, 2019, 7:48 PM EST