+ 1

How to write a program that selects from many tables and shows the result on a datagridview

I wrote the query, which i checked on sql and is correct, but I keep on getting an empty table in the datagridview or only one row and the first column. I used the dataset command and filled it with the infos given by the user in checkboxes, a radiobutton and a combobox

21st May 2018, 1:09 PM
Gaelle Ghanem
Gaelle Ghanem - avatar
2 Answers
+ 1
Problem solved! I copied and pasted the code to a new form and it miraculously worked! đŸ˜± And yes, I used an sqlconnection
21st May 2018, 7:54 PM
Gaelle Ghanem
Gaelle Ghanem - avatar
0
Can you show us some code ? Did you use a sqlconnection OR another connection object?
21st May 2018, 7:37 PM
sneeze
sneeze - avatar