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!
cmd = New SqlCommand(CommandText) 'cmd.CommandType = CommandType.StoredProcedure; ' Open connection to the database con = New SqlConnection(pblvar.pblSQLPath) con.Open() cmd.Connection = con Dim da As New SqlDataAdapter(cmd) da.Fill(dtAwards) Dim rowko2 As Integer = dtAwards.Rows.Count 'BindingSource to sync DataTable and DataGridView Dim bSource As New BindingSource() 'set the BindingSource DataSource bSource.DataSource = dtAwards ' counts columns = 10 and rows = 380 Dim intcko2 As Integer = dtAwards.Columns.Count Dim intrko2 As Integer = dtAwards.Rows.Count 'set the DataGridView DataSource dgMeritBadgetkn.DataSource = bSource 'counts columns = 0 and rows = 0 Dim intcko3 As Integer = dgMeritBadgetkn.Columns.Count Dim intrko3 As Integer = dgMeritBadgetkn.Rows.Count
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.