code error ขอความช่วยเหลือหน่อยครับ
Posted: Wed Mar 30, 2016 11:10 pm
Code: Select all
Public Class Form1
Private Sub TbinfoBindingNavigatorSaveItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)
Me.Validate()
Me.TbinfoBindingSource.EndEdit()
Me.TableAdapterManager.UpdateAll(Me.DbInfoDataSet)
End Sub
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
'TODO: This line of code loads data into the 'DbInfoDataSet.tbinfo' table. You can move, or remove it, as needed.
Me.TbinfoTableAdapter.Fill(Me.DbInfoDataSet.tbinfo)
End Sub
Private Sub TbinfoBindingNavigator_RefreshItems(ByVal sender As System.Object, ByVal e As System.EventArgs)
End Sub
Private Sub Label1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Label1.Click
End Sub
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim search As String = txtsearch.Text
Me.TblinfoTableAdapter.FillBySearchSN(Me.DbInfoDataSet.tblinfo, search, search)
End Sub
Private Sub textsearch_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles textsearch.TextChanged
End Sub
End Class