M
M K
. Reply (E-mail) Forward (E-mail)
Subject: Bound data doesn't change with cleared dataset.
From: "M K" <[email protected]> Sent: 7/8/2003
8:29:42 AM
I have a win form app that has several bound controls
(mostly textbox). When I load a job, the dataSet is
filled, and the controls show the data as I navigate. If I
then go and load a new job (new data) I clear the dataset,
and do a new fill. But the controls still show the old
data. Why is this? What am I missing? The controls are
bound at design time. The data is filled at run time. Here
is how I am doing it:
If Not Me.DsOrder1.Orders Is Nothing Then
Me.DsOrder1.Orders.Clear()
Me.cmdSelOrders.Parameters.Add(New OleDb.OleDbParameter
("?JobId", Me._jobId))
Me.daOrders.Fill(Me.DsOrder1)
Any ideas please? Don't know where to look for info on
this.
Subject: Bound data doesn't change with cleared dataset.
From: "M K" <[email protected]> Sent: 7/8/2003
8:29:42 AM
I have a win form app that has several bound controls
(mostly textbox). When I load a job, the dataSet is
filled, and the controls show the data as I navigate. If I
then go and load a new job (new data) I clear the dataset,
and do a new fill. But the controls still show the old
data. Why is this? What am I missing? The controls are
bound at design time. The data is filled at run time. Here
is how I am doing it:
If Not Me.DsOrder1.Orders Is Nothing Then
Me.DsOrder1.Orders.Clear()
Me.cmdSelOrders.Parameters.Add(New OleDb.OleDbParameter
("?JobId", Me._jobId))
Me.daOrders.Fill(Me.DsOrder1)
Any ideas please? Don't know where to look for info on
this.