Discussion:
Help!
(too old to reply)
LightStamp
2009-11-04 19:07:56 UTC
Permalink
I've got a bindingsource on my form which has DataSource as my dataset xsd
and the DataMember set to the a querytable within that dataset.

I've since updated the dsSellItemMain and added a column to the querytable
and when I look at it in the XSD designer the new column is there.

I added a textbox onto my form with the other controls bound to this
existing binding source and try to associate the textbox with my
bindingsource but my additional column is not in the bindingsource.

How can I "refresh" the bindingsource to properly reflect the xsd column
addition?
John Bundy
2009-11-08 14:15:01 UTC
Permalink
More than likely your only issue is adding it to the Fill method. Near the
bottom of the your XSD you should see something called Fill or FillBy, right
click it and go to configure. This shows you the select statement that pulls
the data from your database, make sure the new column is there.
--
-John http://www.jmbundy.blogspot.com/
Please rate when your question is answered to help us and others know what
is helpful.
Post by LightStamp
I've got a bindingsource on my form which has DataSource as my dataset xsd
and the DataMember set to the a querytable within that dataset.
I've since updated the dsSellItemMain and added a column to the querytable
and when I look at it in the XSD designer the new column is there.
I added a textbox onto my form with the other controls bound to this
existing binding source and try to associate the textbox with my
bindingsource but my additional column is not in the bindingsource.
How can I "refresh" the bindingsource to properly reflect the xsd column
addition?
.
LightStamp
2009-11-17 19:14:04 UTC
Permalink
The Fill is there and can even exec to show content but the databinding (at
least in the designer ) never reflect the new column though when I bind the
textbox (ie drap the field from the datasources onto the form - it shows
that I've selected the binding source and that column even though I can't
add the column directly from the binding source in the designer.

Strange very strange
Post by John Bundy
More than likely your only issue is adding it to the Fill method. Near the
bottom of the your XSD you should see something called Fill or FillBy, right
click it and go to configure. This shows you the select statement that pulls
the data from your database, make sure the new column is there.
--
-John http://www.jmbundy.blogspot.com/
Please rate when your question is answered to help us and others know what
is helpful.
Post by LightStamp
I've got a bindingsource on my form which has DataSource as my dataset xsd
and the DataMember set to the a querytable within that dataset.
I've since updated the dsSellItemMain and added a column to the querytable
and when I look at it in the XSD designer the new column is there.
I added a textbox onto my form with the other controls bound to this
existing binding source and try to associate the textbox with my
bindingsource but my additional column is not in the bindingsource.
How can I "refresh" the bindingsource to properly reflect the xsd column
addition?
.
Loading...