-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathForm1.vb
29 lines (23 loc) · 833 Bytes
/
Form1.vb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
Imports System
Imports System.ComponentModel
Imports System.Drawing
Imports DevExpress.DataAccess.UI.Sql
Namespace T292798
Public Partial Class Form1
Inherits DevExpress.XtraEditors.XtraForm
Public Sub New()
InitializeComponent()
End Sub
Private Sub Form1_Load(ByVal sender As Object, ByVal e As EventArgs)
sqlDataSource1.Fill()
End Sub
Private Sub btConfigureConnection_Click(ByVal sender As Object, ByVal e As EventArgs)
sqlDataSource1.ConfigureConnection
End Sub
Private Sub btEditQuery_Click(ByVal sender As Object, ByVal e As EventArgs)
sqlDataSource1.Queries("DefaultQuery").EditQuery()
sqlDataSource1.Fill()
gridView1.PopulateColumns()
End Sub
End Class
End Namespace