Properly clear columns for Result grid in frmSQL_DESIGNER
This commit is contained in:
parent
a705621ec8
commit
041b306924
@ -157,6 +157,8 @@ Public Class frmSQL_DESIGNER
|
||||
Dim ds As DataSet = ExecuteWithConnection(cmbConnection.SelectedValue, query)
|
||||
|
||||
If ds IsNot Nothing Then
|
||||
GridView1.Columns.Clear()
|
||||
GridView1.PopulateColumns(ds.Tables(0))
|
||||
GridControl1.DataSource = ds.Tables(0)
|
||||
End If
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user