3
I have a screen written in VB.NET Winforms, where the goal of it will be to execute SQL commands without the need to open a sql studio.
For simpler commands like delete, update, alter table among others it already works perfectly. Now, the idea is to create a gridview dynamically when the command is a select. Basically what Management Studio itself does when we run a SELECT command, create the columns and fill in with the returned data.
I am using Dapper Framework to execute the commands, and the return of it is a "Dapperrow" that I can’t handle or traverse.
I would like to know a way to create this kind of functionality, which is, run a SELECT, pick up the return, and from this return I fill my gridview dynamically with the data returned from SELECT.
Thank you in advance.
Put the line you are trying to run!
– novic