Using the following to fill dataset:
vb.net Code:
jobDA = New OleDb.OleDbDataAdapter("SELECT * FROM jobs WHERE jobs.jobno = " & JobNo, con) jobDA.Fill(jobDS)
Then adding databinding to textbox in form:
vb.net Code:
Dim tbl As DataTable = jobDS.Tables(0) Me.txtOrderNo.DataBindings.Add("text", tbl, "OrderNo")
When i change the value of txtOrderNo jobDS.HasChanges stays false.
This is code which i have used before and worked fine. Any ideas?
TIA




Reply With Quote