+ 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
2 odpowiedzi
+ 1
Problem solved! I copied and pasted the code to a new form and it miraculously worked! 😱
And yes, I used an sqlconnection
0
Can you show us some code ?
Did you use a sqlconnection OR another connection object?