I am inserting data into datagridview using dataset ie,
dim ds as new dataset
dim da as new mysqldataadapter("select first_name,last_name,address from employee_Details",con)
da.fill(ds)
dgv.datasource=ds.tables(0)
Now i want to display first two columns as "ACCEPT" & "DECLINE" button columns. The columns in employee details table will be changing dynamically so, i dont to add the columns to datagridview manually.
Can anyone please help me on how to add button columns and add data form 3rd column from the dataset.
Thank you
dim ds as new dataset
dim da as new mysqldataadapter("select first_name,last_name,address from employee_Details",con)
da.fill(ds)
dgv.datasource=ds.tables(0)
Now i want to display first two columns as "ACCEPT" & "DECLINE" button columns. The columns in employee details table will be changing dynamically so, i dont to add the columns to datagridview manually.
Can anyone please help me on how to add button columns and add data form 3rd column from the dataset.
Thank you