Skip to content
Advertisement

How to retrieve multiple column from SQL database?

I’m trying to get two column details like this way:

How can I do this?

Advertisement

Answer

You need to have a custom class of columns that you want to retrieve, for example,

and then like this,

User contributions licensed under: CC BY-SA
8 People found this is helpful
Advertisement