BoldSignEasily embed eSignatures in your .NET applications. Free sandbox with native SDK available.
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim colList As GridRangeInfoList = Me.GridControl1.Selections.GetSelectedCols(True, False) Dim s As String = "Colums selected:" If colList.Count = 0 Then s = s + "none" Else Dim range As GridRangeInfo For Each range In colList Dim j As Integer For j = range.Left To range.Right s = s + " " + j.ToString() Next Next End If Me.Label1.Text = s End Sub
> Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click > Dim colList As GridRangeInfoList = Me.GridControl1.Selections.GetSelectedCols(True, False) > Dim s As String = "Colums selected:" > If colList.Count = 0 Then > s = s + "none" > Else > Dim range As GridRangeInfo > For Each range In colList > Dim j As Integer > For j = range.Left To range.Right > s = s + " " + j.ToString() > Next > Next > End If > Me.Label1.Text = s > End Sub >>