Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
S

Sufvan Adil 2023

@Sufvan Adil 2023
About
Posts
1
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • add new row if not exist row in datagirdview1
    S Sufvan Adil 2023

    my code

    If DataGridView1.Rows.Count - 1 Then

                    DataGridView1.Rows.Add()
                        DataGridView1.CurrentCell = DataGridView1.Rows(DataGridView1.Rows.Count - 1).Cells(1)
                        DataGridView1.BeginEdit(True)
    
                Else
                    Exit Sub
                    '    DataGridView1.Rows.Add()
                End If
    

    i many code try

                If (DataGridView1.Rows.Count > 0) Then
                    For i = 0 To DataGridView1.Rows.Count - 1
                        If DataGridView1.Rows(i).Cells("d1alisname").Value = "" Then
    
                            Exit Sub
                        Else
                            DataGridView1.Rows.Add()
                        End If
                    Next
                End If
    

    but add row

    Windows Forms
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups