We value your feedback.
Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!
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.
|Data organization issue||7||55|
|ASP.Net problem with GridView using filters and checkboxes on lines||9||42|
|How do i create a simple array in a public class?||6||36|
Join the community of 500,000 technology professionals and ask your questions.