I am currently working on a project where i need to show row data in gridview columns, so for example, if my data is in the following form.
Username Jack
Phone 2222222
Email [email protected]
and i want to show this data as per columns in gridview as below
Username Phone Email
jack 2222222 [email protected]
How would i do it? specially through LINQ, like can i query DB in any way so it return data in the form that i want?