Hello I am new here can you help me guys.
I want to combine this 2 in listview in winforms how can I do it?

Hello I am new here can you help me guys.
I want to combine this 2 in listview in winforms how can I do it?

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
Amit MohantyRank #112 · 20K reputationPosted Mar 29, 2023, 7:44 AM EDT
Try this
SELECT * FROM ( SELECT [QRCode],[FirstName],[LastName],[Type],[Department], [Position], [TimeLogInOut], [TDateInOut] FROM [sampleTable] ) Results PIVOT ( MAX([TDateInOut]) FOR [TimeLogInOut] IN ([IN],[OUT]) ) AS PivotTableJC Ballo42 reputationPosted Mar 29, 2023, 7:45 PM EDT
Hello Sir, Amit Mohanty
Thank you sir it work,
I have one more question, what if I try this on SQL Views will it work?
Amit MohantyRank #112 · 20K reputationPosted Mar 29, 2023, 11:47 PM EDT
Yes, you can use view instead of table.