K
KentL
I have a CMMS application that I wrote in Access. I am trying to create the
same application using vb.net. I have a Work Order form where work orders
are created then completed. I have everything working properly with the
exception of some combo boxes. I can't seem to see any data in the first
combo box that I am trying to set up.
I have the following code in the form declarations
Public Class frmWorkOrdersInherits System.Windows.Forms.Form
Dim WO_HeadersBindingManager As BindingManagerBase
Dim ProjectNumbersBindingManager As BindingManagerBase
In the Load event I have;
daCMMS.Fill(DsWO_Headers)
daCMMS.Fill(dsProjectNumbers)
WO_HeadersBindingManager = Me.BindingContext(DsWO_Headers, "tblWO_Headers")
ProjectNumbersBindingManager = Me.BindingContext(dsProjectNumbers,
"tblApprovedProjects")
In the Data Adaptor I can see my tables and data. The Data Sets are
returning my data rows. I set the Combo Box properties to the correct
dataset. I run the program and I can navigate through my records, but when
I click the dropdown on my combo box there is no data.
For lack of I better term, I don't know what I'm doing and need some help in
figuring it out ;-)
Thanks!
Kent
same application using vb.net. I have a Work Order form where work orders
are created then completed. I have everything working properly with the
exception of some combo boxes. I can't seem to see any data in the first
combo box that I am trying to set up.
I have the following code in the form declarations
Public Class frmWorkOrdersInherits System.Windows.Forms.Form
Dim WO_HeadersBindingManager As BindingManagerBase
Dim ProjectNumbersBindingManager As BindingManagerBase
In the Load event I have;
daCMMS.Fill(DsWO_Headers)
daCMMS.Fill(dsProjectNumbers)
WO_HeadersBindingManager = Me.BindingContext(DsWO_Headers, "tblWO_Headers")
ProjectNumbersBindingManager = Me.BindingContext(dsProjectNumbers,
"tblApprovedProjects")
In the Data Adaptor I can see my tables and data. The Data Sets are
returning my data rows. I set the Combo Box properties to the correct
dataset. I run the program and I can navigate through my records, but when
I click the dropdown on my combo box there is no data.
For lack of I better term, I don't know what I'm doing and need some help in
figuring it out ;-)
Thanks!
Kent