Hi all,
I use vb.net and dataset. Data table funclib (hase funcid,funcname,seqno,dunctype field), i want to only select 2 field in data table to DataGridView.But i try the below code can't it , it also show all table fields .How can i do, anyone know,thank you ?
Dim qs As String = "select funcid ,funcname from funclib"
connection()
cn.Open()
da = New SqlDataAdapter(qs, cn)
da.Fill(WilsonDataSet, "funclib")
treeGridView1.DataSource =WilsonDataSet.funclib