hi... anybody want to help me to solved my problem
i want to get value from gridview column into textbox. i have DGS4 as my gridview . and i want to use query like i used bellow. i uses some code from @luc001 but it stil not working.
this is my code :
da2 = New MySqlDataAdapter("select * from pegawai where kode_pegawai='" & TextBoxDataKode.Text & "' ", "server=localhost;User Id=root;database=databasecuti")
ds2 = New DataSet
da2.Fill(ds2, "pegawai")
DGS4.DataSource = ds2.Tables("pegawai")
Dim GridView As New DataView(ds2.Tables("pegawai"))
DGS4.DataSource = GridView
TextBoxDataKode.Text = DGS4.Item(1, GridView.SelectedRows(0).Index).Value