The code below is part of a tab page form, they is used on event tabpage_enter
The problem I have is that even though there is data in the .text fields on the form, the checking does not see it, as I have debugged and hovered over the statements and the .text fields show ""
Why would this be?
One of the things I have been trying to establish is how to read data directly from the datasource? Can someone explain this to me?
VB.NET:
Me.taChassis.Fill(Me.DsTTDJobs.chassis)
bsChassis.Filter = "Chassis_Job_number = " & intchassisjobno & ""
If txtchassiscerttype.Text = "LT400" Then rbChassisLT400.Checked = True Else rbChassisLT400.Checked = False
If txtchassiscerttype.Text = "SODC" Then rbChassisSODC.Checked = True Else rbChassisSODC.Checked = False
If txtchassisltr.Text = "LTR31002" Then rbChassisLTR31002.Checked = True Else rbChassisLTR31002.Checked = False
If txtchassisltr.Text = "LTR34001" Then rbChassisLTR34001.Checked = True Else rbChassisLTR34001.Checked = False
cbchassisTypeWork.SelectedText = txtchassistypework.Text
The problem I have is that even though there is data in the .text fields on the form, the checking does not see it, as I have debugged and hovered over the statements and the .text fields show ""
Why would this be?
One of the things I have been trying to establish is how to read data directly from the datasource? Can someone explain this to me?