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!
' This code works if I request it from a button but the Protected Sub CheckBox_Select_CheckedChanged(ByVal sender As Object, ByVal e As System.EventArgs) Dim cb As CheckBox Dim row As GridViewRow Dim contactCounter As Integer = 0 For Each row In GridView1.Rows cb = CType(row.FindControl("CheckBox_Select"), CheckBox) If cb.Checked Then contactCounter = contactCounter + 1 End If Next Label_contactsSelected.Text = contactCounter & " contacts selected" End Sub
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
|VB.Net Data Class||1||44|
|VB.net Upgrade VSTO 2007 (Visual Studio 2010) to Excel Add-in to VSTO 2013 and 2016 9 (Visual Studio 2017)||2||35|
|Using the .NET JSON Serializer to create a single string||6||57|
|input validations, TryUpdateModel and model binding in asp.net mvc||5||21|
Join the community of 500,000 technology professionals and ask your questions.