Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.
Private Sub FillGrid() Try Me.dgvMKL.Rows.Clear() Dim dc As dcKittingdc = New dcKittingdc(Me._ConnString) Dim MKLRecs As IQueryable(Of MKL) = From i In dc.MKLs Where i.Job_Number = Me.tJob.Text _ AndAlso i.SS_Number = Me.tSS.Text _ AndAlso i.Install = Me.cbInstall.Text Select i For Each MKLRec As MKL In MKLRecs Me.dgvMKL.Rows.Add(MKLRec.Job_Number, _ MKLRec.SS_Number, _ MKLRec.Install, _ MKLRec.Real_Part_Number, _ MKLRec.Qty.ToString(), _ MKLRec.uom, _ MKLRec.Active, _ MKLRec.User, _ MKLRec.DateTime.ToString(), _ MKLRec.Top_Collector, _ MKLRec.MKL_Id.ToString()) Next Catch ex As Exception Throw New Exception("At FillGrid/frmEditMKL: " + ex.Message) End Try End Sub
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.