GrapeCity.Xaml.SpreadSheet.Data Namespace > Worksheet Class > NextNonEmptyRow Method : NextNonEmptyRow(Int32) Method |
gcSpreadSheet1.Sheets[0].Cells[2, 2].Text = "test"; private void Button_Click_1(object sender, RoutedEventArgs e) { int j = 0; while (!(j == -1)) { j = gcSpreadSheet1.Sheets[0].NextNonEmptyRow(j); listBox1.Items.Add(j.ToString()); } }
GcSpreadSheet1.Sheets(0).Cells(2, 2).Text = "test" Private Sub Button_Click_1(sender As Object, e As RoutedEventArgs) Dim j As Integer j = 0 Do Until j = -1 j = GcSpreadSheet1.Sheets(0).NextNonEmptyRow(j) ListBox1.Items.Add(j.ToString()) Loop End Sub
Target Platforms: Windows Server 2012, Windows RT