Steven Low
Active member
- Joined
- Apr 14, 2005
- Messages
- 42
- Programming Experience
- 1-3
Hi Guys
I want to update the text boxes which are linked to access.
I got my button 2 updating the information in the datagrid, but is it possible with text boxes reading from Access. Can someone show me how this is done please..Thanks alot
I want to update the text boxes which are linked to access.
I got my button 2 updating the information in the datagrid, but is it possible with text boxes reading from Access. Can someone show me how this is done please..Thanks alot
visual basic coderivate Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
Dim changes As Integer
Dim commandbuilder As New OleDb.OleDbCommandBuilder(oledbstudent)
commandbuilder.QuotePrefix = "["
commandbuilder.QuoteSuffix = "]"
changes = oledbstudent.Update(oDataTable)
Dim changes As Integer
Dim commandbuilder As New OleDb.OleDbCommandBuilder(oledbstudent)
commandbuilder.QuotePrefix = "["
commandbuilder.QuoteSuffix = "]"
changes = oledbstudent.Update(oDataTable)
visual basic code:[VBCODE]Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click dr = cmd.ExecuteReader
While dr.Read()
tx3.Text = dr(0)
tx4.Text = dr(1)
lb2.Text = dr(2)
'loading data into
[/code]While dr.Read()
tx3.Text = dr(0)
tx4.Text = dr(1)
lb2.Text = dr(2)
'loading data into